![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Sprite control demo for the Gameduino
shield.h@0:572558ddc4fe, 2012-12-21 (annotated)
- Committer:
- TheChrisyd
- Date:
- Fri Dec 21 14:15:01 2012 +0000
- Revision:
- 0:572558ddc4fe
working version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
TheChrisyd | 0:572558ddc4fe | 1 | #define ARD_D0 p27 |
TheChrisyd | 0:572558ddc4fe | 2 | #define ARD_D1 p28 |
TheChrisyd | 0:572558ddc4fe | 3 | #define ARD_D2 p29 |
TheChrisyd | 0:572558ddc4fe | 4 | #define ARD_D3 p21 |
TheChrisyd | 0:572558ddc4fe | 5 | #define ARD_D4 p30 |
TheChrisyd | 0:572558ddc4fe | 6 | #define ARD_D5 p22 |
TheChrisyd | 0:572558ddc4fe | 7 | #define ARD_D6 p23 |
TheChrisyd | 0:572558ddc4fe | 8 | #define ARD_D7 p11 |
TheChrisyd | 0:572558ddc4fe | 9 | #define ARD_D8 p12 |
TheChrisyd | 0:572558ddc4fe | 10 | #define ARD_D9 p24 |
TheChrisyd | 0:572558ddc4fe | 11 | #define ARD_D10 p25 |
TheChrisyd | 0:572558ddc4fe | 12 | #define ARD_D11 p5 |
TheChrisyd | 0:572558ddc4fe | 13 | #define ARD_D12 p6 |
TheChrisyd | 0:572558ddc4fe | 14 | #define ARD_D13 p7 |
TheChrisyd | 0:572558ddc4fe | 15 | |
TheChrisyd | 0:572558ddc4fe | 16 | #define ARD_D14 ARD_A0 |
TheChrisyd | 0:572558ddc4fe | 17 | #define ARD_D15 ARD_A1 |
TheChrisyd | 0:572558ddc4fe | 18 | #define ARD_D16 ARD_A2 |
TheChrisyd | 0:572558ddc4fe | 19 | #define ARD_D17 ARD_A3 |
TheChrisyd | 0:572558ddc4fe | 20 | #define ARD_D18 ARD_SDA |
TheChrisyd | 0:572558ddc4fe | 21 | #define ARD_D19 ARD_SCL |
TheChrisyd | 0:572558ddc4fe | 22 | |
TheChrisyd | 0:572558ddc4fe | 23 | #define ARD_A0 p15 |
TheChrisyd | 0:572558ddc4fe | 24 | #define ARD_A1 p16 |
TheChrisyd | 0:572558ddc4fe | 25 | #define ARD_A2 p17 |
TheChrisyd | 0:572558ddc4fe | 26 | #define ARD_A3 p18 |
TheChrisyd | 0:572558ddc4fe | 27 | #define ARD_A4 p19 |
TheChrisyd | 0:572558ddc4fe | 28 | #define ARD_A5 p20 |
TheChrisyd | 0:572558ddc4fe | 29 | |
TheChrisyd | 0:572558ddc4fe | 30 | #define ARD_PWM0 ARD_D3 |
TheChrisyd | 0:572558ddc4fe | 31 | #define ARD_PWM1 ARD_D5 |
TheChrisyd | 0:572558ddc4fe | 32 | #define ARD_PWM2 ARD_D6 |
TheChrisyd | 0:572558ddc4fe | 33 | #define ARD_PWM3 ARD_D9 |
TheChrisyd | 0:572558ddc4fe | 34 | #define ARD_PWM4 ARD_D10 |
TheChrisyd | 0:572558ddc4fe | 35 | #define ARD_PWM5 p26 |
TheChrisyd | 0:572558ddc4fe | 36 | |
TheChrisyd | 0:572558ddc4fe | 37 | #define ARD_RX ARD_D0 |
TheChrisyd | 0:572558ddc4fe | 38 | #define ARD_TX ARD_D1 |
TheChrisyd | 0:572558ddc4fe | 39 | #define ARD_SDA p9 |
TheChrisyd | 0:572558ddc4fe | 40 | #define ARD_SCL p10 |
TheChrisyd | 0:572558ddc4fe | 41 | #define ARD_MOSI p5 |
TheChrisyd | 0:572558ddc4fe | 42 | #define ARD_MISO p6 |
TheChrisyd | 0:572558ddc4fe | 43 | #define ARD_SCK p7 |
TheChrisyd | 0:572558ddc4fe | 44 | /* |
TheChrisyd | 0:572558ddc4fe | 45 | DigitalOut shield_d13(ARD_D13); |
TheChrisyd | 0:572558ddc4fe | 46 | |
TheChrisyd | 0:572558ddc4fe | 47 | AnalogIn shield_a0(ARD_A0); |
TheChrisyd | 0:572558ddc4fe | 48 | */ |