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.
test.cpp@1:27360e9dc2c5, 2016-06-11 (annotated)
- Committer:
- qynx
- Date:
- Sat Jun 11 12:52:07 2016 +0000
- Revision:
- 1:27360e9dc2c5
Clean up the text
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| qynx | 1:27360e9dc2c5 | 1 | #include "mbed.h" |
| qynx | 1:27360e9dc2c5 | 2 | #include "toggle.h" |
| qynx | 1:27360e9dc2c5 | 3 | |
| qynx | 1:27360e9dc2c5 | 4 | Toggle pin(P1_24); |
| qynx | 1:27360e9dc2c5 | 5 | |
| qynx | 1:27360e9dc2c5 | 6 | main() |
| qynx | 1:27360e9dc2c5 | 7 | { |
| qynx | 1:27360e9dc2c5 | 8 | |
| qynx | 1:27360e9dc2c5 | 9 | while(1) { |
| qynx | 1:27360e9dc2c5 | 10 | pin.toggle(5); |
| qynx | 1:27360e9dc2c5 | 11 | wait(1); |
| qynx | 1:27360e9dc2c5 | 12 | } |
| qynx | 1:27360e9dc2c5 | 13 | } |