Playing games with arduino(UNO) and accelerometer. This code will allow you to control your keyboard with an arduino UNO. Software used is the arduino app and processing. This code is set to work with the COM4 port and with a baud rate of 19600. Increasing X will press 'W' and decreasing it will press 'S' Increasing Y will press 'D' and decreasing will press 'A'
IF YOU ARE USING THE WITH_NITRO PROCESSING FILE ONLY
Nitro is set to 'B'. Nitro will be activated if x is increased further.