I am creating a project similar to this https://circuitdigest.com/microcontroller-projects/ping-pong-game-using-arduino-accelerometer#comment-30863
I currently am using Serial.write to send the accelerometer data values over the serial port to processing. I would like to introduce a button (digtal reading) where if the button is pressed the data can be read by processing and without affecting any of the accelerometer data being read. How could I do that?
[original story: Circuit Digest]