Step 24Optional Assembly: Programming Button Option
Note: This 'Programming Button Option' is solely for the recording and playback of moves, combos, and other inputs, just as if you have pressed them yourself again. This has nothing to do with the programming of the PIC microcontroller. If recording and playback of moves holds no interest for you, this step can be safely skipped entirely.
No additional hardware is needed for this. The pull up resistor for this button has already been placed. All you need to do is wire the button.
Just like every other button used by the UPCB, the button's line is tied to high with a pull up resistor. That line goes to one leg of a button. The other leg of the button goes to ground. When the button is pressed, the PIC sees that the line has been connected to ground, and acts accordingly.
The programming button is RB5. You'll see a hole marked 'RB5' in the lower left. Solder a wire to that hole, and connect it to your programming button. The other leg of the switch should connect to ground. There are holes marked GND next to the RB5 hole that will do nicely, but this is just a matter of convienence. Any connection to ground will work.
In the pictures below, you will see how I did this on my NeoGeo converter option pcb. I used a pair of header pins; one soldered to the RB5 hole, and the other in the neighboring GND hole. If I use the jumper to connect them, it is the same as if I had pressed a pressed a button. If they aren't connected, it is the same as if I was not pressing the button.
| « Previous Step | Download PDFView All Steps | Next Step » |
![]() |
Add Comment
|


































































