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.
Dependencies: mbed
Diff: main.cpp
- Revision:
- 10:fe07fdd23dec
- Parent:
- 9:7bc670023361
--- a/main.cpp Wed Nov 21 17:31:54 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ - -/* mbed specific header files. */ -#include "mbed.h" - -DigitalOut LedWAD (PC_2); -DigitalOut LedWAS (PC_3); -DigitalOut LedWPD (PC_10); -DigitalOut LedWPS (PA_0) ; -DigitalOut LedYAD (PC_13); -DigitalOut LedYAS (PC_14); -DigitalOut LedRPD (PC_12); -DigitalOut LedRPS (PA_1) ; -DigitalIn myButton(USER_BUTTON); - -int main() -{ - LedWAD=0; - LedWAS=0; - LedWPD=0; - LedWPS=0; - LedYAD=0; - LedYAS=0; - LedRPD=0; - LedRPS=0; - while(true) - { - if(myButton==1) - { - LedWAD = 1; - } - else - { - LedWAD = 0; - } - } - - -} - -/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/