Updates to sensor.ino and coordinator.ino