TW
TW
https://github.com/adafruit/Adafruit_NeoPixel Not sure if it helps much for 1 LED, but for a whole strip, this might be less expensive on the CPU as it uses the RMT hardware: https://github.com/bertmelis/esp32WS2811
Type: "NeoPixel" aka WS2812, RGB, 800kbps Pinout: - Din - +5V - GND (long pin) - Dout
BTW, I did some first experiments: Seems like some simple status showing code + the `NeoPixelBus` ( https://github.com/Makuna/NeoPixelBus ) library would add only about 5kB to our compiled code size...
OK, now locating the pins to connect the WS2812 LED to: ``` o o o o o o o o o o ... o o o o o o o...
OK, it somehow works, mostly. Guess I need some serial damping resistor (to avoid reflections) or a capacitor (to stabilize voltage) at the LED or a thicker 5V wire, sometimes...
@rexfue said 13 and 17 are free on current hardware.
diff isn't easy to review, would've been better done in multiple commits with special focus in each.
the current code mix is not pretty (unrelated to this PR), maybe we could rather have something like this: - keep some global global gm counts + thp historical values...
also related: #257
answering my z-diodes in series question: https://toshiba.semicon-storage.com/us/design-support/faq/diode/is-it-ok-to-connect-multiple-zener-diodes-in-series.html