Shop OBEX P1 Docs P2 Docs Learn Events
value of my photo resistors — Parallax Forums

value of my photo resistors

akezakez Posts: 12
edited 2005-08-25 01:01 in Robotics
hey guys,

i am not new to basic stamp. but i haven't used it for a little while. can someone tell me real quick the command i use to get the value of my photo resistors? it is debug something. i don't want a 1 or a 0 i want something like 387000 or 456780 those kinds of values. thank you

akez

Post Edited By Moderator (Chris Savage (Parallax)) : 8/23/2005 2:47:37 AM GMT

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-08-23 03:33
    You need to use the photoresistor as the "R" part of the circuit with RCTIME.· Use a 0.01 uF cap for "C."

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax

    Post Edited (Jon Williams (Parallax)) : 8/23/2005 3:40:40 AM GMT
    429 x 262 - 10K
  • akezakez Posts: 12
    edited 2005-08-25 01:01
    o...hey thanks alot!!! i forgot about the capacitor in my curcuit..but i cannot measure it in analog like i can a infared detector..ok thanks
Sign In or Register to comment.