Skip to content

Commit

Permalink
Resolved problem w/ user button detection. Problem was due to button …
Browse files Browse the repository at this point in the history
…and USART sharing same GPIO of PA0,PA1. Moved USART to use PA2,PA3.
  • Loading branch information
ab1aw committed Feb 26, 2019
1 parent 4023e62 commit 68f4b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/apps/gpioer/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void *gpioer_thread(void *arg)
{
printf("gpioer thread: built-in leds blinking - count %d\n", count);
leds_onoff(count++);
L4_Sleep(L4_TimePeriod(1000 * 1000));
L4_Sleep(L4_TimePeriod(500 * 1000));
}
}

Expand Down

0 comments on commit 68f4b99

Please sign in to comment.