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 MbedJSONValue mbed-rtos 4DGL-uLCD-SE ESP8266NodeMCUInterface
main.cpp@0:4ffa136585a2, 2019-03-25 (annotated)
- Committer:
- alexhrao
- Date:
- Mon Mar 25 23:19:58 2019 +0000
- Revision:
- 0:4ffa136585a2
- Child:
- 1:0620ba35d2e8
Initial Commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| alexhrao | 0:4ffa136585a2 | 1 | #include "mbed.h" |
| alexhrao | 0:4ffa136585a2 | 2 | |
| alexhrao | 0:4ffa136585a2 | 3 | DigitalOut myled(LED1); |
| alexhrao | 0:4ffa136585a2 | 4 | |
| alexhrao | 0:4ffa136585a2 | 5 | int main() { |
| alexhrao | 0:4ffa136585a2 | 6 | while(1) { |
| alexhrao | 0:4ffa136585a2 | 7 | myled = 1; |
| alexhrao | 0:4ffa136585a2 | 8 | wait(0.2); |
| alexhrao | 0:4ffa136585a2 | 9 | myled = 0; |
| alexhrao | 0:4ffa136585a2 | 10 | wait(0.2); |
| alexhrao | 0:4ffa136585a2 | 11 | } |
| alexhrao | 0:4ffa136585a2 | 12 | } |