C027 Example: blinking LED
Dependencies: mbed
Fork of C027_HelloWorld by
Revision 5:41b123533b79, committed 2013-12-06
- Comitter:
- mazgch
- Date:
- Fri Dec 06 09:58:29 2013 +0000
- Parent:
- 4:1fecbc981273
- Child:
- 6:7fe1cbb784a4
- Commit message:
- pull in latest library
Changed in this revision
C027.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/C027.lib Wed Nov 06 10:49:16 2013 +0000 +++ b/C027.lib Fri Dec 06 09:58:29 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/teams/ublox/code/C027/#bc9e2eb5daa8 +http://mbed.org/teams/ublox/code/C027/#e30f90b5447e
--- a/main.cpp Wed Nov 06 10:49:16 2013 +0000 +++ b/main.cpp Fri Dec 06 09:58:29 2013 +0000 @@ -1,7 +1,13 @@ #include "mbed.h" #include "C027.h" -DigitalOut myled(LED); // on rev A you should reasign the signal to A0 +#ifdef C027_REVA + // on rev A we reasign the signal to A0 + #undef LED + #define LED A0 +#endif + +DigitalOut myled(LED); int main() { while(1) {