I am looking at building a mouse trap which operates when a beam is broken.
No problems with the motor control, just wondering how an infra red beam could be set up with the 08M
The infrain command will only respond to individual sony commands as far as I can tell, and hence won't really work in this instance.
I think the answer would be to use the PWM command to modulate the infra red LED but what command to use for the IR receiver?
If anyone has done this, could you share some code?
No problems with the motor control, just wondering how an infra red beam could be set up with the 08M
The infrain command will only respond to individual sony commands as far as I can tell, and hence won't really work in this instance.
I think the answer would be to use the PWM command to modulate the infra red LED but what command to use for the IR receiver?
If anyone has done this, could you share some code?