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