Skip to content

Commit 2882f20

Browse files
committed
fix leds
1 parent 14f692d commit 2882f20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Arduino_Robot_Firmware.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Arduino_Robot_Firmware{
1717
private:
1818
RGBled * led1;
1919
RGBled * led2;
20-
20+
2121
APDS9960 * apds9960;
2222
int bottom_red, bottom_green, bottom_blue, bottom_clear, bottom_proximity;
2323

@@ -124,6 +124,8 @@ class Arduino_Robot_Firmware{
124124
void setLedRightRed(const uint32_t red);
125125
void setLedRightGreen(const uint32_t green);
126126
void setLedRightBlue(const uint32_t blue);
127+
void setLeds(const uint32_t color);
128+
void setLeds(const uint32_t red, const uint32_t green, const uint32_t blue);
127129

128130

129131
// Imu

0 commit comments

Comments
 (0)