adafruit / tinyuf2

UF2 bootloader based on TinyUSB for embedded devices such as ESP32S2, STM32F4 and iMX RT10xx
MIT License
326 stars 178 forks source link

[STM32F4] Allow user defined amount of Neopixels as status indicator #197

Closed KarlK90 closed 2 years ago

KarlK90 commented 2 years ago

...by defining NEOPIXEL_ NUMBER which now acts on values bigger than 1. Furthermore users can define a custom pin mode for the output pin, e.g. open-drain for applications where an pull-up resistor is used as a 3.3V to 5V logic level shifter.

This feature is handy for e.g. stm32f4 keyboards that have long external sk6812/ws2812 chains which can be used together with tinyuf2.

drashna commented 2 years ago

If it helps, I can confirm that this works on a chain with ~20 leds, and with a pull-up resistor used.

KarlK90 commented 2 years ago

Great! Thanks for the feedback.