bozimmerman / Zimodem

ESP8266/ESP32/Arduino custom modem<->internet simulator with lots of features
Apache License 2.0
398 stars 90 forks source link

LED strip support #145

Closed timotto closed 1 week ago

timotto commented 2 weeks ago

I am building a Zimodem for my Apricot F1 computer which I plan to put into an actual modem case. I want to re-use the modem's front panel with an WS2812B LED strip to show status and activity.

Are you interested in a pull request to support individually addressable LED strips in Zimodem? It will however add a dependency to Zimodem, most likely FastLED.

I would add a a new class with a loop method to flash LEDs on RX/TX activity, while the other LEDs are status LEDs similar to the existing LED code. I would add configuration code, so a user can define at runtime the type, order, color, and functions of LEDs, as it differs between modem models. I'd re-use a GPIO pin from the existing LED code, as it is unlikely to run both at once. Due to the addressable LEDs, only one pin is required to control all the LEDs.

With this pull request I can avoid running a fork, and if the functionality will be enabled by default for ESP32 I would profit from OTA updates in the future.

frnno967 commented 2 weeks ago

Scott from Tattler Solutions has a fork of Zimodem that might be what you want. His website is here: https://tempestfpga.com/