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: C027_Support mbed
Fork of c027_prototyping by
main.cpp@0:164fb9518d1a, 2014-09-30 (annotated)
- Committer:
- philemonf
- Date:
- Tue Sep 30 13:58:43 2014 +0000
- Revision:
- 0:164fb9518d1a
- Child:
- 1:23ffa0e091bc
First commit of the prototyping project.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| philemonf | 0:164fb9518d1a | 1 | #include "mbed.h" |
| philemonf | 0:164fb9518d1a | 2 | #ifdef TARGET_UBLOX_C027 |
| philemonf | 0:164fb9518d1a | 3 | #include "C027_api.h" |
| philemonf | 0:164fb9518d1a | 4 | #else |
| philemonf | 0:164fb9518d1a | 5 | #error "This example is targeted for the C027 platform" |
| philemonf | 0:164fb9518d1a | 6 | #endif |
| philemonf | 0:164fb9518d1a | 7 | |
| philemonf | 0:164fb9518d1a | 8 | DigitalOut myled(LED); |
| philemonf | 0:164fb9518d1a | 9 | |
| philemonf | 0:164fb9518d1a | 10 | int main() { |
| philemonf | 0:164fb9518d1a | 11 | while(1) { |
| philemonf | 0:164fb9518d1a | 12 | myled = !myled; |
| philemonf | 0:164fb9518d1a | 13 | wait(0.2); |
| philemonf | 0:164fb9518d1a | 14 | } |
| philemonf | 0:164fb9518d1a | 15 | } |
