mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Scripting: support set_num_neopixel_rgb()
This commit is contained in:
parent
1035ac76b2
commit
dd7f65ec51
@ -1968,6 +1968,11 @@ function serialLED:set_num_profiled(chan, num_leds) end
|
||||
---@return boolean
|
||||
function serialLED:set_num_neopixel(chan, num_leds) end
|
||||
|
||||
-- desc
|
||||
---@param chan integer
|
||||
---@param num_leds integer
|
||||
---@return boolean
|
||||
function serialLED:set_num_neopixel_rgb(chan, num_leds) end
|
||||
|
||||
-- desc
|
||||
---@class vehicle
|
||||
|
@ -298,6 +298,7 @@ include AP_SerialLED/AP_SerialLED.h
|
||||
singleton AP_SerialLED rename serialLED
|
||||
singleton AP_SerialLED depends AP_SERIALLED_ENABLED
|
||||
singleton AP_SerialLED method set_num_neopixel boolean uint8_t 1 16 uint8_t 0 AP_SERIALLED_MAX_LEDS
|
||||
singleton AP_SerialLED method set_num_neopixel_rgb boolean uint8_t 1 16 uint8_t 0 AP_SERIALLED_MAX_LEDS
|
||||
singleton AP_SerialLED method set_num_profiled boolean uint8_t 1 16 uint8_t 0 AP_SERIALLED_MAX_LEDS
|
||||
singleton AP_SerialLED method set_RGB void uint8_t 1 16 int8_t -1 INT8_MAX uint8_t'skip_check uint8_t'skip_check uint8_t'skip_check
|
||||
singleton AP_SerialLED method send void uint8_t 1 16
|
||||
|
Loading…
Reference in New Issue
Block a user