updated readme once more
This commit is contained in:
@@ -12,14 +12,13 @@ The linked parts are only references; feel free to use any compatible hardware o
|
|||||||
## Diagram
|
## Diagram
|
||||||

|

|
||||||
## Note on Flashing
|
## Note on Flashing
|
||||||
Flashing the XInput library makes the Arduino unresponsive to further flashing.
|
Flashing the XInput library makes the Arduino unresponsive to further flashing. In order to flash new sketches, you'll need to manually reset the board. You'll need to perform steps 4-6 on every flash as long as you have the Arduino configured for XInput. Find more information about this [in the readme of the Arduino XInput library](https://github.com/dmadison/ArduinoXInput_AVR?tab=readme-ov-file#upload-warning-and-instructions).
|
||||||
1. Wire a switch between GND and RST to act as a reset switch
|
1. Wire a switch between GND and RST to act as a reset switch
|
||||||
2. Enable verbose output on upload in `Arduino IDE -> File -> Preferences`
|
2. Enable verbose output on upload in `Arduino IDE -> File -> Preferences`
|
||||||
3. Select the COM port of the board and the corresponding board type as provided by the XInput library. For me, this was `Arduino Leonardo w/ XInput`
|
3. Select the COM port of the board and the corresponding board type as provided by the XInput library. For me, this was `Arduino Leonardo w/ XInput`
|
||||||
4. Press "Upload"
|
4. Press "Upload"
|
||||||
5. Once the notification in the bottom right says "Uploading", press the reset switch twice in quick succession
|
5. Once the notification in the bottom right says "Uploading", press the reset switch twice in quick succession
|
||||||
6. On success, the output window should print out data, concluding with "avrdude done. thank you."
|
6. On success, the output window should print out data, concluding with "avrdude done. thank you."
|
||||||
You'll need to perform steps 4-6 on every flash as long as you have the Arduino configured for XInput. Find more information about this [in the readme of the Arduino XInput library](https://github.com/dmadison/ArduinoXInput_AVR?tab=readme-ov-file#upload-warning-and-instructions).
|
|
||||||
## Required Libraries
|
## Required Libraries
|
||||||
- [PS2X library](https://github.com/madsci1016/Arduino-PS2X) for interpreting the controller's signals
|
- [PS2X library](https://github.com/madsci1016/Arduino-PS2X) for interpreting the controller's signals
|
||||||
- [ArduinoXInput_AVR library](https://github.com/dmadison/ArduinoXInput_AVR) for sending XInput commands via an Arduino Pro Micro
|
- [ArduinoXInput_AVR library](https://github.com/dmadison/ArduinoXInput_AVR) for sending XInput commands via an Arduino Pro Micro
|
||||||
|
|||||||
Reference in New Issue
Block a user