We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9a388b commit 0522e4bCopy full SHA for 0522e4b
sketch/sketch.ino
@@ -62,7 +62,7 @@ void matrix_draw(String frame){
62
matrix.draw(shades);
63
}
64
65
-void set_led_rgb(String pin, uint8_t r, uint8_t g, uint8_t b) {
+void set_led_rgb(String pin, bool r, bool g, bool b) {
66
if (pin == "LED3") {
67
digitalWrite(LED_BUILTIN, r ? LOW : HIGH );
68
digitalWrite(LED_BUILTIN + 1, g ? LOW : HIGH );
0 commit comments