Open ceilingduster opened 3 years ago
we'd welcome any PR!
Not even close to being ready for a PR but a proof of concept. https://github.com/Workshopshed/Adafruit_NeoPixel
I've added a function that sends data from the Portenta via pin D0.
Based off https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ and https://forum.arduino.cc/t/fast-gpio-toggle-with-portenta-h7-using-hal/682470
Known limitations Only tested at 800Khz. Only tested on the M4 core. Hardcoded to pin D0
Tested with 2x12 NeoPixel rings and a pair of GRBW neopixel buttons.
Please add support for Arduino Portenta H7. Currently, sketches will compile and upload/run however nothing happens.