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

    High speed / animation on Core 2 display

    Core 2
    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.
    • D
      david-bethesda
      last edited by david-bethesda

      I have a python app that is monitoring the voltage of a rapidly changing signal (think audio amplitude) from a sensor and I am driving the width of a rectangle shape, modulating the width with the value of the signal. I would like to have a smooth update frequency of about 30 per second. Basically I want to emulate the look of old fashioned VU meters, either the electromechanical kind of the 60's or the LED bars of the 80's. I don't know the best way to do this. I.e. do I draw the rectangle, then erase it, then draw the new rectangle at the new width? I tried a couple of different approaches but they didn't look correct. Thanks.

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