I am trying to use the command SetSensorType(nSensorX, nType) that corresponds to SensorType[nSensorX] = nType
For some reason it does not seem to work and it wont set the sensor type properly. On the debug window it says it set the sensor type but it wont output anything, it just stays at 0.
I am using the latest RobotC (2.32).
Any help would be appreciated!