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:c4cf794f6311, 2019-04-17 (annotated)
- Committer:
- m215910
- Date:
- Wed Apr 17 14:11:03 2019 +0000
- Revision:
- 0:c4cf794f6311
drives straight
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| m215910 | 0:c4cf794f6311 | 1 | //Satre, Gagnon, |
| m215910 | 0:c4cf794f6311 | 2 | #include "mbed.h" |
| m215910 | 0:c4cf794f6311 | 3 | |
| m215910 | 0:c4cf794f6311 | 4 | DigitalOut myled(LED1); |
| m215910 | 0:c4cf794f6311 | 5 | |
| m215910 | 0:c4cf794f6311 | 6 | int main() { |
| m215910 | 0:c4cf794f6311 | 7 | while(1) { |
| m215910 | 0:c4cf794f6311 | 8 | myled = 1; |
| m215910 | 0:c4cf794f6311 | 9 | wait(0.2); |
| m215910 | 0:c4cf794f6311 | 10 | myled = 0; |
| m215910 | 0:c4cf794f6311 | 11 | wait(0.2); |
| m215910 | 0:c4cf794f6311 | 12 | } |
| m215910 | 0:c4cf794f6311 | 13 | } |