Sample code to send the state of 8 digital inputs from Arduino to Python via serial using a single byte.