Program used to test the Nintento Switch Arduino Joystick with a UART interface.
- You need to install SwitchJoystick
In the /client
folder.
npm install
npm run dev
ornpm start
- open
http://localhost:3000/
- PLAYER:
PLAYER=1 npm run dev
will set PORT to 3000 + PLAYER ID. It will listen on MIDI channel of the same number to. Settings will be saved in its own config for each player id. - PORT:
PORT=3031 PLAYER=1 npm run dev
will run client with the specified port.
Falsh the .ino
file on a Arduino Leonardo, Arduino Micro or ATmega32U4 based microcontroller.
Download the latest release.
esptool.py --port /dev/tty.wchusbserial14130 --baud 230400 write_flash -fs 32m -ff 80m \
0x00000 boot_v1.7.bin 0x1000 user1.bin \
0x3FC000 esp_init_data_default.bin 0x3FE000 blank.bin
for more infos see esp-link
- RX: connect to TX of microcontroller
- TX: connect to RX of microcontroller
- GND: connect to GND of microcontroller
- Input Protocol
- UART
- MIDI