
test program for apps shield
Dependencies: C12832_lcd_fork LM75B MMA7660 mbed C027
Revision 1:c409f3abab09, committed 2014-01-03
- Comitter:
- chris
- Date:
- Fri Jan 03 22:48:18 2014 +0000
- Parent:
- 0:0325ecbd1916
- Child:
- 2:134ff7c6ed07
- Commit message:
- Added u-blox-C027 pin mappings to arduino.h
Changed in this revision
arduino.h | 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/arduino.h Wed Jan 01 08:42:34 2014 +0000 +++ b/arduino.h Fri Jan 03 22:48:18 2014 +0000 @@ -54,3 +54,36 @@ #define ARD_SDA PTE0 #define ARD_SCL PTE1 #endif + + + +#ifdef PLATFORM_C027 + #define ARD_A0 P0_23 + #define ARD_A1 P0_24 + #define ARD_A2 P0_25 + #define ARD_A3 P0_26 + #define ARD_A4 P0_30 + #define ARD_A5 P1_31 + + #define ARD_D0 P4_29 + #define ARD_D1 P4_28 + #define ARD_D2 P2_13 + #define ARD_D3 P2_0 + #define ARD_D4 P2_12 + #define ARD_D5 P2_1 + #define ARD_D6 P2_2 + #define ARD_D7 P2_11 + + #define ARD_D8 P2_4 + #define ARD_D9 P2_3 + #define ARD_D10 P1_21 + #define ARD_D11 P1_24 + #define ARD_D12 P1_23 + #define ARD_D13 P1_20 + + #define ARD_SDA P0_0 + #define ARD_SCL P0_1 +#endif + + +
--- a/main.cpp Wed Jan 01 08:42:34 2014 +0000 +++ b/main.cpp Fri Jan 03 22:48:18 2014 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -#define PLATFORM_ARCH +#define PLATFORM_C027 #include "arduino.h" #include "LM75B.h"