IRNAS / koruza-rpi-package

Software package for KORUZA compute module
GNU General Public License v3.0
2 stars 1 forks source link

Add support for WS2812b serial LEDs #1

Closed SloMusti closed 7 years ago

SloMusti commented 7 years ago

Add support to drive LEDs from compute module, indicating optical power based on color, just like implemented in the old koruza driver https://github.com/IRNAS/koruza_driver_firmware/blob/master/src/WS2812B.c#L126

To implement this, we will use gpio 40 on compute module, configured to have alternative function 0, PWM0 on it and library https://github.com/jgarff/rpi_ws281x/blob/master/main.c to drive the diodes.