Add set_rgb_led_single

This commit is contained in:
PrimmR 2023-09-12 17:25:17 +01:00
parent a485c43f6c
commit c3acb2455a
2 changed files with 34 additions and 2 deletions

View file

@ -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);