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 PulseSensor2 SCP1000 mbed-rtos 4DGL-uLCD-SE LSM9DS1_Library_cal PinDetect FatFileSystemCpp GP-20U7
main.cpp@0:ae05ad9e2610, 2020-03-25 (annotated)
- Committer:
- dyu2021
- Date:
- Wed Mar 25 18:52:24 2020 +0000
- Revision:
- 0:ae05ad9e2610
- Child:
- 2:0c1c9795bfc4
jgdhj
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| dyu2021 | 0:ae05ad9e2610 | 1 | #include "mbed.h" | 
| dyu2021 | 0:ae05ad9e2610 | 2 | |
| dyu2021 | 0:ae05ad9e2610 | 3 | DigitalOut myled(LED1); | 
| dyu2021 | 0:ae05ad9e2610 | 4 | |
| dyu2021 | 0:ae05ad9e2610 | 5 | int main() { | 
| dyu2021 | 0:ae05ad9e2610 | 6 | while(1) { | 
| dyu2021 | 0:ae05ad9e2610 | 7 | myled = 1; | 
| dyu2021 | 0:ae05ad9e2610 | 8 | wait(0.2); | 
| dyu2021 | 0:ae05ad9e2610 | 9 | myled = 0; | 
| dyu2021 | 0:ae05ad9e2610 | 10 | wait(0.2); | 
| dyu2021 | 0:ae05ad9e2610 | 11 | } | 
| dyu2021 | 0:ae05ad9e2610 | 12 | } | 

