Photocell question
Archiver
Posts: 46,084
Hello,
I would like to utilize a photocell and have it
activate a relay when light is upon the photocell.
Could anyone please help me with the code? I am using
a BS2.
Thanks in advance.
See ya,
Todd
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
I would like to utilize a photocell and have it
activate a relay when light is upon the photocell.
Could anyone please help me with the code? I am using
a BS2.
Thanks in advance.
See ya,
Todd
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
Comments
contacttodd@y... writes:
> I would like to utilize a photocell and have it activate a relay when light
> is upon the photocell. Could anyone please help me with the code?
> I am using a BS2.
You can read the photocell with RCTIME and make a decision from there. When
you first get started, use DEBUG to display your photocell reading.