Ok I connected the IR detector to the stamp and It still doesnt work.
I have the output of the detector going into the stamp and an led
connected to another pin as an output. When the stamp reads a low
signal from the detector, it should set the led high and vice versa.
The led flickers very fast; when I shine a remote control into the
detector, it stil flickers but it definately knows theres a signal
there.
here is my code.
loop:
if in0=1 then no_sig
high 3
goto loop
no_sig:
low 3
goto loop
What am I doing wrong? Should there be more electrical components in
the circuit? Should I get a better detector?
thanks
connected to another pin as an output. When the stamp reads a low
signal from the detector, it should set the led high and vice versa.
The led flickers very fast; when I shine a remote control into the
detector, it stil flickers but it definately knows theres a signal
there.
here is my code.
loop:
if in0=1 then no_sig
high 3
goto loop
no_sig:
low 3
goto loop
What am I doing wrong? Should there be more electrical components in
the circuit? Should I get a better detector?
thanks
Comments
believe), so a series of bitstreams are going to be fairly fast ; the
effect on the LED is probably not going to be noticeable. LED's are
regularly pulsed on and off in commercial applications.
On Tue, 20 Nov 2001 rblundel@t... wrote:
> I have the output of the detector going into the stamp and an led
> connected to another pin as an output. When the stamp reads a low
> signal from the detector, it should set the led high and vice versa.
> The led flickers very fast; when I shine a remote control into the
> detector, it stil flickers but it definately knows theres a signal
> there.
>
> here is my code.
>
> loop:
> if in0=1 then no_sig
> high 3
> goto loop
> no_sig:
> low 3
> goto loop
>
> What am I doing wrong? Should there be more electrical components in
> the circuit? Should I get a better detector?
>
> thanks
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
Sean T. Lamont, CTO / Chief NetNerd, Abstract Software, Inc. (ServNet)
Seattle - Bellingham - Vancouver - Portland - Everett - Tacoma - Bremerton
email: lamont@a... WWW: http://www.serv.net
"...There's no moral, it's just a lot of stuff that happens". - H. Simpson