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@27:53f556d60967, 2020-07-15 (annotated)
- Committer:
- snec_student
- Date:
- Wed Jul 15 13:52:55 2020 +0000
- Revision:
- 27:53f556d60967
- Parent:
- 26:b44b5419efef
- Child:
- 28:c7875faa8ddf
version3;
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dan | 0:7dec7e9ac085 | 1 | #include "mbed.h" |
| dan | 0:7dec7e9ac085 | 2 | |
| snec_student | 25:db86df2c59d1 | 3 | DigitalOut myled(PTA1); |
| dan | 0:7dec7e9ac085 | 4 | |
| dan | 0:7dec7e9ac085 | 5 | int main() { |
| dan | 0:7dec7e9ac085 | 6 | while(1) { |
| snec_student | 25:db86df2c59d1 | 7 | myled = 1; // led D3 allumée |
| snec_student | 26:b44b5419efef | 8 | wait(1.5); |
| snec_student | 25:db86df2c59d1 | 9 | myled = 0; // led D3 éteinte |
| snec_student | 27:53f556d60967 | 10 | wait(3.5); |
| stevep | 4:81cea7a352b0 | 11 | } |
| dan | 0:7dec7e9ac085 | 12 | } |