Add set_rgb_led_single
This commit is contained in:
parent
a485c43f6c
commit
c3acb2455a
2 changed files with 34 additions and 2 deletions
|
@ -192,6 +192,10 @@ extern "C"
|
|||
{
|
||||
arduboy.digitalWriteRGB(red, green, blue);
|
||||
}
|
||||
void arduboy_set_rgb_led_single(uint8_t color, uint8_t val)
|
||||
{
|
||||
arduboy.setRGBled(color, val);
|
||||
}
|
||||
void arduboy_set_rgb_led(uint8_t red, uint8_t green, uint8_t blue)
|
||||
{
|
||||
arduboy.setRGBled(red, green, blue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue