A MicroPython Marquee for small screens

Поділитися
Вставка
  • Опубліковано 3 лип 2024
  • MicroPython marquee display on a small OLED, using fonts from my ezFBfont collection.
    My marquee class, ezFBmarquee.py, handles all the scrolling on the screen, driven by a timer.
    github.com/easytarget/microPy...
    This is the marquee demo program (from the examples folder) running on a i2c ssd1306 OLED display, powered by a ESP32 dev board runnin MicroPython 1.22
    A simple main loop sets the lower scroller to show the tens of seconds info at the appropriate time, but otherwise does nothing.
    The upper marquee line is created just before the main loop starts, and runs in the background continually.
    All the animation, pausing and stopping of displays is handled by the timer outside the main loop.
    If you look really carefully you can see some missing pixels on the descending parts of the lowest text, this is my 'spare' screen and four of the last 8 lines have failed. A hardware issue, not software.

КОМЕНТАРІ •