C027 Example: blinking LED
Dependencies: mbed
Fork of C027_HelloWorld by
Revision 6:7fe1cbb784a4, committed 2014-06-12
- Comitter:
- mazgch
- Date:
- Thu Jun 12 09:05:25 2014 +0000
- Parent:
- 5:41b123533b79
- Commit message:
- using latest library
Changed in this revision
--- a/C027.lib Fri Dec 06 09:58:29 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/teams/ublox/code/C027/#e30f90b5447e
--- a/main.cpp Fri Dec 06 09:58:29 2013 +0000 +++ b/main.cpp Thu Jun 12 09:05:25 2014 +0000 @@ -1,10 +1,8 @@ #include "mbed.h" -#include "C027.h" - -#ifdef C027_REVA - // on rev A we reasign the signal to A0 - #undef LED - #define LED A0 +#ifdef TARGET_UBLOX_C027 + #include "C027_api.h" +#else + #error "This example is targeted for the C027 platform" #endif DigitalOut myled(LED); @@ -13,5 +11,5 @@ while(1) { myled = !myled; wait(0.2); - } + } }
--- a/mbed.bld Fri Dec 06 09:58:29 2013 +0000 +++ b/mbed.bld Thu Jun 12 09:05:25 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/a9913a65894f \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/024bf7f99721 \ No newline at end of file