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