1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-13 12:45:01 -05:00
This commit is contained in:
coliss86 2023-11-12 22:59:40 +01:00
parent 56d3d8ab7d
commit be258a81fc

View File

@ -191,9 +191,9 @@ leonardo.menu.usb_name.leonardo_4.build.usb_product="SNES-adapter"
### New board to Arduino IDE
If you add new board to Arduino IDE, it survives from Arduino IDE updates. Copy `boards.txt` to `{sketchbook folder}\hardware\retroadapter\avr\`.
Restart Arduino IDE and select Tools -> Board -> Arduino Pro Micro Retroadapter.
Restart Arduino IDE and select `Tools -> Board -> Arduino Pro Micro Retroadapter`.
It changes VID to 0x8282 and PID to 0x3201 (Keio Retro Adapter).
It changes `VID` to `0x8282` and `PID` to `0x3201`: `Arduino Retroadapter`
### Arduino Uno R3
Arduino UNO R3 includes ATmega16u2 (along with ATmega328p) and it can be used too, but it needs some extra work (code doesn't work without modifications with UNO):
@ -236,7 +236,7 @@ https://en.wikipedia.org/wiki/List_of_Konami_code_games
### Other ideas
Of course Arduino can be used many other ways. Add a PIR motion detector module from Ebay (under $2) and your computer wakes up from sleep when you walk to room. Just read PIR-sensor data pin and if it is 1, send some keyboard button (which normally does nothing) to computer so it wakes up. Or make info-board to your kitchen or hallway wall from old Android tablet and it turns on backlight only when someone goes to kitchen.
## Links
## 🔗 Links
* Arduino: http://playground.arduino.cc/Main/InterfacingWithHardware
* NES: http://www.mit.edu/~tarvizo/nes-controller.html