I'm creating a guitar hero kind of game in unity using an Arduino and an actual guitar.
My problem is that I have to constantly check for a returning value from the arduino.
If I constantly send a value my readings aren't accurate enough any more, and if I write my code for the Arduino in such a way that it only sends data when it receives input from my guitar, the unity program freezes due to it getting stuck on the Arduino code as it seems to keep waiting for a response. Is there a way that I can work around this?