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:
- 6:0018763974d3
- Parent:
- 3:858ea360dbbe
--- a/main.c Sat Feb 25 08:30:11 2017 +0000 +++ b/main.c Sat Feb 25 08:59:21 2017 +0000 @@ -48,11 +48,6 @@ HAL_Delay(300); while (1) { - GPIO_PinState state = HAL_GPIO_ReadPin(UP_JOY_GPIO_PORT,UP_JOY_PIN); - HAL_GPIO_WritePin(LED4_GPIO_PORT, LED4_PIN, state); - - state = HAL_GPIO_ReadPin(DOWN_JOY_GPIO_PORT,DOWN_JOY_PIN); - HAL_GPIO_WritePin(LED5_GPIO_PORT, LED5_PIN, state); } }