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@2:d1fda51a728b, 2020-04-29 (annotated)
- Committer:
- dfmolanon
- Date:
- Wed Apr 29 03:16:20 2020 +0000
- Revision:
- 2:d1fda51a728b
- Parent:
- 1:3d648aadb949
- Child:
- 3:b79118f8dc22
wait de 0.2 a 0.5
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dfmolanon | 0:926129e024d7 | 1 | #include "mbed.h" |
dfmolanon | 0:926129e024d7 | 2 | |
cjmn | 1:3d648aadb949 | 3 | DigitalOut myled(LED3); |
dfmolanon | 0:926129e024d7 | 4 | |
dfmolanon | 0:926129e024d7 | 5 | int main() { |
dfmolanon | 0:926129e024d7 | 6 | while(1) { |
dfmolanon | 0:926129e024d7 | 7 | myled = 1; |
dfmolanon | 2:d1fda51a728b | 8 | wait(0.5); |
dfmolanon | 0:926129e024d7 | 9 | myled = 0; |
dfmolanon | 0:926129e024d7 | 10 | wait(0.2); |
dfmolanon | 0:926129e024d7 | 11 | } |
dfmolanon | 0:926129e024d7 | 12 | } |