Add LED blinker demo

This commit is contained in:
Fabio Utzig 2015-05-13 20:30:40 -03:00
parent 825c8ea30b
commit 006b6a93d0
1 changed files with 4 additions and 0 deletions

View File

@ -33,5 +33,9 @@ int main(void) {
chSysInit();
while (1) {
NRF_GPIO->OUTCLR = (uint32_t) 1 << 18;
chThdSleepMilliseconds(500);
NRF_GPIO->OUTSET = (uint32_t) 1 << 18;
chThdSleepMilliseconds(500);
}
}