forked from airgradienthq/arduino
LED Test on Button
This commit is contained in:
1 parent
94ead3751b
commit
e55f3b6e74
1 file changed
+5
@@ -986,6 +986,11 @@ static void boardInit(void) {
|
||||
if (ag.pms5003.begin(Serial0) == false) {
|
||||
failedHandler("Init PMS5003 failed");
|
||||
}
|
||||
|
||||
/** Run LED test on start up */
|
||||
if (ag.button.getState() == ag.button.BUTTON_PRESSED) {
|
||||
ledTest();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user