aboutsummaryrefslogtreecommitdiffstats
path: root/src/neopixel.c
Commit message (Collapse)AuthorAgeFilesLines
* neopixel: Fix neopixel_result message so that it contains an oidKevin O'Connor2020-11-051-1/+1
| | | | | | | In order for commit 82156170 to work properly, the neopixel_result message must contain the oid. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* command: Add command_decode_ptr() helperKevin O'Connor2020-10-301-1/+1
| | | | | | | | Add a helper function to convert from a string buffer passed in the args[] parameter to an actual pointer. This avoids all the callers needing to perfrom pointer manipulation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Increase the maximum LED chain lengthKevin O'Connor2020-10-291-15/+33
| | | | | | | Rework neopixel updates to use an mcu buffer so that more than 18 LEDs can be in a chain. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Make sure there is a minimum low duration after a long pulseKevin O'Connor2020-04-211-4/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Allow host software to configure neopixel timingKevin O'Connor2020-04-151-9/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Use names for key timing valuesKevin O'Connor2020-04-151-12/+19
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Rework timing so that it works on AVR micro-controllersKevin O'Connor2019-08-071-61/+99
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Update to more flexible bit-banging timingKevin O'Connor2019-07-231-20/+38
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Improve timing of gpio bit-bangingKevin O'Connor2019-07-171-39/+43
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Be sure to set the line low on a failed writeKevin O'Connor2019-07-131-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Optimize the update loopKevin O'Connor2019-07-121-41/+37
| | | | | | Optimize the transmit code so it can run on some slower ARM cpus. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add initial support for "neopixel" ledsKevin O'Connor2019-07-121-0/+114
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>