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:58a59716b896, 2013-11-04 (annotated)
- Committer:
- mga
- Date:
- Mon Nov 04 13:36:06 2013 +0000
- Revision:
- 0:58a59716b896
question 1
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mga | 0:58a59716b896 | 1 | #include "mbed.h" |
mga | 0:58a59716b896 | 2 | //1 ere question : Allumer une LED |
mga | 0:58a59716b896 | 3 | //Initialiser le LED et préciser le port 1; |
mga | 0:58a59716b896 | 4 | DigitalOut myled(LED1); |
mga | 0:58a59716b896 | 5 | |
mga | 0:58a59716b896 | 6 | int main() { |
mga | 0:58a59716b896 | 7 | //Allumer la LED |
mga | 0:58a59716b896 | 8 | myled = 2; |
mga | 0:58a59716b896 | 9 | } |