mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-22 01:11:40 +00:00
Status LEDs (#104)
* Don't start metrics thread if not on linux * Add statusLED support * [Hardware] Add status LED support * [Hardware] Invalid LED port checks * [Hardware] Check if statusLED exists in config
This commit is contained in:
@@ -44,5 +44,9 @@ public class HardwareManagerTest {
|
||||
for (int i = 0; i < 101; i++) {
|
||||
instance.getGPIO(13).dimLED(i);
|
||||
}
|
||||
|
||||
Assertions.assertEquals(config.statusRGBPins.get(0), -1);
|
||||
Assertions.assertEquals(config.statusRGBPins.get(1), -1);
|
||||
Assertions.assertEquals(config.statusRGBPins.get(2), -1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user