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: LedController mbed-rtos mbed NerfUSXbee Servomotor TargetManager
Fork of NerfUS by
main.cpp@7:e5414568de93, 2017-02-09 (annotated)
- Committer:
- dupm2216
- Date:
- Thu Feb 09 02:01:51 2017 +0000
- Revision:
- 7:e5414568de93
- Parent:
- 2:6e467e4978f9
- Child:
- 11:6ce1d834ecb7
Change blink period to 1 second; ; - The real purpose of this commit is to test the "pull request" feature
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| dupm2216 | 0:e7c4a5d26268 | 1 | #include "mbed.h" |
| dupm2216 | 1:ed506b2298b4 | 2 | #include "rtos.h" |
| dupm2216 | 0:e7c4a5d26268 | 3 | |
| dupm2216 | 0:e7c4a5d26268 | 4 | DigitalOut myled(LED1); |
| dupm2216 | 0:e7c4a5d26268 | 5 | |
| Maxime Dupuis |
2:6e467e4978f9 | 6 | int main() |
| Maxime Dupuis |
2:6e467e4978f9 | 7 | { |
| Maxime Dupuis |
2:6e467e4978f9 | 8 | while(1) |
| Maxime Dupuis |
2:6e467e4978f9 | 9 | { |
| dupm2216 | 0:e7c4a5d26268 | 10 | myled = 1; |
| dupm2216 | 7:e5414568de93 | 11 | wait(0.5); |
| dupm2216 | 0:e7c4a5d26268 | 12 | myled = 0; |
| dupm2216 | 7:e5414568de93 | 13 | wait(0.5); |
| dupm2216 | 0:e7c4a5d26268 | 14 | } |
| dupm2216 | 0:e7c4a5d26268 | 15 | } |
