Arduino code to send data over serial based on button states and NodeJS code to read data from serial