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.
main.cpp@0:1c2d9c93c045, 2017-11-21 (annotated)
- Committer:
- JPP
- Date:
- Tue Nov 21 15:27:07 2017 +0000
- Revision:
- 0:1c2d9c93c045
- Child:
- 1:17420a732fe8
Version 1 : tempo de 0.2s sur LED1
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| JPP | 0:1c2d9c93c045 | 1 | #include "mbed.h" |
| JPP | 0:1c2d9c93c045 | 2 | |
| JPP | 0:1c2d9c93c045 | 3 | DigitalOut myled(LED1); |
| JPP | 0:1c2d9c93c045 | 4 | |
| JPP | 0:1c2d9c93c045 | 5 | int main() { |
| JPP | 0:1c2d9c93c045 | 6 | while(1) { |
| JPP | 0:1c2d9c93c045 | 7 | myled = 1; |
| JPP | 0:1c2d9c93c045 | 8 | wait(0.2); |
| JPP | 0:1c2d9c93c045 | 9 | myled = 0; |
| JPP | 0:1c2d9c93c045 | 10 | wait(0.2); |
| JPP | 0:1c2d9c93c045 | 11 | } |
| JPP | 0:1c2d9c93c045 | 12 | } |