CODE
Signaling Module: [Header File] [Pseudocode] [C Code] Timing Module: [Header File] [Pseudocode] [C Code] Pinout: [Pinout Diagram] |
Game Play Module: [Header File] [Pseudocode] [C Code] Main Module: [Header File] [Pseudocode] [C Code] |
Pinout Diagram
C32 I/O Connections | |||
Use | Pin | Pin | Use |
Penny opto-interruptor | T7 | AD1 | Ready/start/stop chime |
Obstacle tape sensor | T6 | AD0 | Pump handle potentiometer |
Jump pad #2 | T5 | M5 | Puppet handpump direction |
Jump pad #1 | T4 | M4 | Ready-to-play LED array |
Start opto-interruptor | T3 | M3 | SWAG dispensing |
Unused | T2 | M2 | Handle vibration |
Villain position servo | T1 | M1 | Jump direction |
PWM background scroll | T0 | M0 | Jump enable line |
Cross-Proto Board Connections | |||
Use | Pin | Pin | Use |
Unused | 0 | 9 | Unused |
Unused | 1 | 8 | PWM background scroll |
Puppet handpump direction | 2 | 7 | Villain position servo |
Jump enable line | 3 | 6 | SWAG dispensing |
Jump direction | 4 | 5 | Ready/start/stop chime |
Handpump Connections | ||
Pin | Color | Use |
7 | Brown | Potentiometer 5V |
6 | Brown white | Potentiometer middle |
5 | Orange white | Potentimeter & handle motors GND |
4 | Orange | Handle vibration motors |
3 | Blue | Jump Pad #1 (+) upstream |
2 | Blue white | Jump pad #1 (-) downstream |
1 | Green | Jump pad #2 (+) upstream |
0 | Green white | Jump pad #2 (-) downstream |