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.
Fork of TDP3_MovementControl by
main.cpp@4:56de8fa841e2, 2018-10-15 (annotated)
- Committer:
- quickeman
- Date:
- Mon Oct 15 10:24:20 2018 +0000
- Revision:
- 4:56de8fa841e2
- Parent:
- 3:c9e7b856026c
- Child:
- 6:b476699ac7d4
Added ?hello? comment
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Nicolaemf | 0:30183794e491 | 1 | #include "mbed.h" |
Nicolaemf | 1:9c7329b9c23f | 2 | //hello guys, this is a test |
Nicolaemf | 0:30183794e491 | 3 | DigitalOut myled(LED1); |
Nicolaemf | 0:30183794e491 | 4 | |
quickeman | 3:c9e7b856026c | 5 | // This is the main() function |
quickeman | 4:56de8fa841e2 | 6 | // hello |
Nicolaemf | 0:30183794e491 | 7 | int main() { |
Nicolaemf | 0:30183794e491 | 8 | while(1) { |
Nicolaemf | 0:30183794e491 | 9 | myled = 1; |
quickeman | 2:55e5c2c48913 | 10 | wait(10); |
Nicolaemf | 0:30183794e491 | 11 | myled = 0; |
Nicolaemf | 1:9c7329b9c23f | 12 | wait(100); |
Nicolaemf | 0:30183794e491 | 13 | } |
Nicolaemf | 0:30183794e491 | 14 | } |