![](/media/cache/profiles/Chris_Profile_Pic_kyGJjzP.jpg.50x50_q85.jpg)
test program for apps shield
Dependencies: C12832_lcd_fork LM75B MMA7660 mbed C027
arduino.h@0:0325ecbd1916, 2014-01-01 (annotated)
- Committer:
- chris
- Date:
- Wed Jan 01 08:42:34 2014 +0000
- Revision:
- 0:0325ecbd1916
- Child:
- 1:c409f3abab09
Added in a header to switch between Arch and KL25Z pin mapping
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
chris | 0:0325ecbd1916 | 1 | #ifdef PLATFORM_ARCH |
chris | 0:0325ecbd1916 | 2 | #define ARD_A0 P0_11 |
chris | 0:0325ecbd1916 | 3 | #define ARD_A1 P0_12 |
chris | 0:0325ecbd1916 | 4 | #define ARD_A2 P0_13 |
chris | 0:0325ecbd1916 | 5 | #define ARD_A3 P0_14 |
chris | 0:0325ecbd1916 | 6 | #define ARD_A4 P0_16 |
chris | 0:0325ecbd1916 | 7 | #define ARD_A5 P0_22 |
chris | 0:0325ecbd1916 | 8 | |
chris | 0:0325ecbd1916 | 9 | #define ARD_D0 P0_18 |
chris | 0:0325ecbd1916 | 10 | #define ARD_D1 P0_19 |
chris | 0:0325ecbd1916 | 11 | #define ARD_D2 P0_17 |
chris | 0:0325ecbd1916 | 12 | #define ARD_D3 P1_17 |
chris | 0:0325ecbd1916 | 13 | #define ARD_D4 P1_18 |
chris | 0:0325ecbd1916 | 14 | #define ARD_D5 P1_24 |
chris | 0:0325ecbd1916 | 15 | #define ARD_D6 P1_25 |
chris | 0:0325ecbd1916 | 16 | #define ARD_D7 P1_5 |
chris | 0:0325ecbd1916 | 17 | |
chris | 0:0325ecbd1916 | 18 | #define ARD_D8 P1_26 |
chris | 0:0325ecbd1916 | 19 | #define ARD_D9 P1_27 |
chris | 0:0325ecbd1916 | 20 | #define ARD_D10 P0_2 |
chris | 0:0325ecbd1916 | 21 | #define ARD_D11 P1_29 |
chris | 0:0325ecbd1916 | 22 | #define ARD_D12 P0_8 |
chris | 0:0325ecbd1916 | 23 | #define ARD_D13 P0_9 |
chris | 0:0325ecbd1916 | 24 | |
chris | 0:0325ecbd1916 | 25 | #define ARD_SDA P0_5 |
chris | 0:0325ecbd1916 | 26 | #define ARD_SCL P0_4 |
chris | 0:0325ecbd1916 | 27 | #endif |
chris | 0:0325ecbd1916 | 28 | |
chris | 0:0325ecbd1916 | 29 | |
chris | 0:0325ecbd1916 | 30 | #ifdef PLATFORM_KL25Z |
chris | 0:0325ecbd1916 | 31 | #define ARD_A0 PTB0 |
chris | 0:0325ecbd1916 | 32 | #define ARD_A1 PTB1 |
chris | 0:0325ecbd1916 | 33 | #define ARD_A2 PTB2 |
chris | 0:0325ecbd1916 | 34 | #define ARD_A3 PTB3 |
chris | 0:0325ecbd1916 | 35 | #define ARD_A4 PTC2 |
chris | 0:0325ecbd1916 | 36 | #define ARD_A5 PTC1 |
chris | 0:0325ecbd1916 | 37 | |
chris | 0:0325ecbd1916 | 38 | #define ARD_D0 PTA1 |
chris | 0:0325ecbd1916 | 39 | #define ARD_D1 PTA2 |
chris | 0:0325ecbd1916 | 40 | #define ARD_D2 PTD4 |
chris | 0:0325ecbd1916 | 41 | #define ARD_D3 PTA12 |
chris | 0:0325ecbd1916 | 42 | #define ARD_D4 PTA4 |
chris | 0:0325ecbd1916 | 43 | #define ARD_D5 PTA5 |
chris | 0:0325ecbd1916 | 44 | #define ARD_D6 PTC8 |
chris | 0:0325ecbd1916 | 45 | #define ARD_D7 PTC9 |
chris | 0:0325ecbd1916 | 46 | |
chris | 0:0325ecbd1916 | 47 | #define ARD_D8 PTA13 |
chris | 0:0325ecbd1916 | 48 | #define ARD_D9 PTD5 |
chris | 0:0325ecbd1916 | 49 | #define ARD_D10 PTD0 |
chris | 0:0325ecbd1916 | 50 | #define ARD_D11 PTD2 |
chris | 0:0325ecbd1916 | 51 | #define ARD_D12 PTD3 |
chris | 0:0325ecbd1916 | 52 | #define ARD_D13 PTD1 |
chris | 0:0325ecbd1916 | 53 | |
chris | 0:0325ecbd1916 | 54 | #define ARD_SDA PTE0 |
chris | 0:0325ecbd1916 | 55 | #define ARD_SCL PTE1 |
chris | 0:0325ecbd1916 | 56 | #endif |