wchill/SwitchInputEmulator

No response from Arduino Uno R3

Closed this issue · 1 comments

Hi. I tested my TTL-to-USB cable before flashing Joystick.hex and it worked fine. However after I flashed the hex and Arduino is recoginized as HORIPAD S as I tested on this website: https://html5gamepad.com/ I ran client.py , the PC never receives any bytes from serial port. Have you done this successfully with Arduino Uno R3? Thanks.
EDIT: I don't know how this works, but it seems that after flashing the hex, the micro-controller is still running the application I uploaded before flashing the hex... (LED Blink program) and that's why I didn't receive any bytes at all.

Oh turns out it's because my USART adapter's TXD and RXD are reversed. RXD should wire to Arduino's pin 0 -> RX .