tarantulataramasalata
Senior Member
I am trying to create a IR circuit, where a IR LED activates a remote circuit. There's no data to transmit, just on and off. I have used one of these
http://www.vishay.com/ir-receiver-modules/
I have found that I have to modulate the LED at 38khz. A pulseout command would do the 'mark' bit ok, but I'm not sure how to do the 'space' bit.
Alternatively a short burst of pwmout might do(?), praps someone might help me with the code...
how's this for an 18x:
pwmout 3,3,1
the idea is to get a 50:50 mark space ratio with a duty cycle length of 38khz (approx 0.0000263157 secs, I think...)
Any help appreciated.
http://www.vishay.com/ir-receiver-modules/
I have found that I have to modulate the LED at 38khz. A pulseout command would do the 'mark' bit ok, but I'm not sure how to do the 'space' bit.
Alternatively a short burst of pwmout might do(?), praps someone might help me with the code...
how's this for an 18x:
pwmout 3,3,1
the idea is to get a 50:50 mark space ratio with a duty cycle length of 38khz (approx 0.0000263157 secs, I think...)
Any help appreciated.