Added pinModes to sensor, use mutex on read, disabled ISR, commented non RT-comp prints