Ran into a weird problem today. For some reason, using this code, breaks pin 0 for RX using Arduino IDE (2.3.2) :
#define SENSOR_TIMEOUT 2000 // 2 seconds timeout
#define COOLDOWN_TIME 5000 // 5 seconds cooldown period
#define NUM_SENSORS 30
int sensorPins[NUM_SENSORS] = {2, 3, 4, 5, 6, 7, 8...