diff --git a/examples/ONE_I-9PSL/ONE_I-9PSL.ino b/examples/ONE_I-9PSL/ONE_I-9PSL.ino index 1431182..628da16 100644 --- a/examples/ONE_I-9PSL/ONE_I-9PSL.ino +++ b/examples/ONE_I-9PSL/ONE_I-9PSL.ino @@ -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(); + } } /**