You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kaspar Schleiser 908429eb33 tests: fix misc cppcheck warnings 5 years ago
Makefile tests: add prefix to Makefile.tests_common 6 years ago tests/leds: blink ALL defined on-board LEDs 6 years ago
main.c tests: fix misc cppcheck warnings 5 years ago

Expected result

This test will blink all available on-board LEDs, one after each other in an endless loop. Each LED will light up once long, and twice short, where the long interval is roughly 4 times as long as the short interval. The length of the interval is not specified and differs for each platform.


Running this test shows if all the direct access macros for all on-board LEDs are working correctly (xx_ON, xx_OFF, xx_TOGGLE). This test is intentionally not using any timers, so it can also be used early on in the porting process, where timers might not yet be available.