mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_HAL: adjust LED API to allow more than 32 LEDs on a pin
This commit is contained in:
parent
5bfd607300
commit
5d15d867b5
@ -206,10 +206,10 @@ public:
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
setup neopixel (WS2812B) output data for a given output channel
|
setup neopixel (WS2812B) output data for a given output channel
|
||||||
and mask of which LEDs in the chain
|
and led number. A led number of -1 means all LEDs. LED 0 is the first LED
|
||||||
*/
|
*/
|
||||||
virtual void set_neopixel_rgb_data(const uint16_t chan, uint32_t ledmask, uint8_t red, uint8_t green, uint8_t blue) {}
|
virtual void set_neopixel_rgb_data(const uint16_t chan, int8_t led, uint8_t red, uint8_t green, uint8_t blue) {}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
trigger send of neopixel data
|
trigger send of neopixel data
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user