IR Wiring
Posted: 30 Apr 2011, 15:26
Hello again!
I have an IR transmitter hooked up to my NXT I am running a very simple program to turn the transmitter on and off:
To ensure that the transmitter is working, I am using my phone camera. Indeed, the transmitter is working, but it is not turning off...
Does anyone know why this might be?
I have an IR transmitter hooked up to my NXT I am running a very simple program to turn the transmitter on and off:
Code: Select all
task main () {
SetSensorLight(IN_1);
while (TRUE) {
SetSensorType(IN_1, IN_TYPE_LIGHT_ACTIVE);
Wait(1000);
SetSensorType(IN_1, IN_TYPE_LIGHT_INACTIVE);
Wait(1000);
}
}
Does anyone know why this might be?