🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Is it possible to dynamically change the source file for M5Imgbtn?

    Micropython
    1
    1
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      alexanderpilhar
      last edited by

      I need to dynamically change the source file of an M5Imgbtn but can't figure out how to do it.
      I tried using my_btn.set_img_src(filename) but that didn't work.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post