Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.c
- Revision:
- 2:8c4e755038ce
- Parent:
- 0:a9bbfbd216e8
- Child:
- 3:858ea360dbbe
--- a/main.c Fri Feb 24 21:13:56 2017 +0000 +++ b/main.c Fri Feb 24 22:46:53 2017 +0000 @@ -1,10 +1,16 @@ #define USE_STM32L476G_DISCO_REVC #include "stm32l476g_discovery.h" -#include "stm32l4xx_hal.h" - // main() runs in its own thread in the OS // (note the calls to wait below for delays) + + +/*************** TODO *************** + Joystik up=> LED4 ON + Joystik down=> LED5 ON + + Hint: Use UP_JOY_xxx definitions +*/ int main() { LED4_GPIO_CLK_ENABLE();