I need an Arduino sketch that converts 2x Super Nintendo gamepads input into 2x Sega Genesis pads output.
$30-250 USD
Annulleret
Slået op over 6 år siden
$30-250 USD
Betales ved levering
Hello,
I would like a piece of code for Arduino Uno that will take inputs from two SNES gamepads and convert it into output of two Sega Genesis gamepads.
There is a Github library that allows Arduino to read Sega Genesis gamepad input: [login to view URL]
There is another Github library that allows Arduino to emulate SNES gamepad: [login to view URL]
So basically what needs to be done:
- take the 2st library, add support for one more SNES gamepad.
- use the code from the 1st library: remap physical input pins to the data coming from SNES gamepads; add one more Genesis gamepad at this step.
Please note that a genesis gamepad has 9 pins (5 data pins + VCC + GND). SNES gamepad has 5 pins (CLOCK, LATCH, DATA, VCC, GND). That means the entire setup will require 16 data pins.
Note: the converter starts working on each Genesis port only when a corresponding SNES controller is connected. It is possible to detect a connected controller digitally.
Thanks for looking, any questions please ask. I have all the hardware to test your code and debug it.