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
main.cpp@0:57f2c1b3b06f, 2017-05-23 (annotated)
- Committer:
- qdanilc
- Date:
- Tue May 23 11:26:29 2017 +0000
- Revision:
- 0:57f2c1b3b06f
- Child:
- 1:fd9390d59320
First
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| qdanilc | 0:57f2c1b3b06f | 1 | #include "mbed.h" |
| qdanilc | 0:57f2c1b3b06f | 2 | |
| qdanilc | 0:57f2c1b3b06f | 3 | DigitalOut myled(LED1); |
| qdanilc | 0:57f2c1b3b06f | 4 | // This does not do much |
| qdanilc | 0:57f2c1b3b06f | 5 | int main() { |
| qdanilc | 0:57f2c1b3b06f | 6 | while(1) { |
| qdanilc | 0:57f2c1b3b06f | 7 | myled = 1; |
| qdanilc | 0:57f2c1b3b06f | 8 | wait(0.2); |
| qdanilc | 0:57f2c1b3b06f | 9 | myled = 0; |
| qdanilc | 0:57f2c1b3b06f | 10 | wait(0.2); |
| qdanilc | 0:57f2c1b3b06f | 11 | } |
| qdanilc | 0:57f2c1b3b06f | 12 | } |