Shop OBEX P1 Docs P2 Docs Learn Events
using RCTIME....? — Parallax Forums

using RCTIME....?

bobsmithbobsmith Posts: 36
edited 2004-10-29 23:01 in BASIC Stamp
When using RCTIME i have it reading a certain pin, but how do I saw if the pin that it is reading is active go to etc. etc. etc.

Comments

  • NewzedNewzed Posts: 2,503
    edited 2004-10-29 21:23
    Simple.· Just write:

    if RCTimevariable ·>1100 then do something

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Sid Weaver
    New Combo LCD Backpack

    http://hometown.aol.com/newzed/index.html
    ·
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-10-29 23:01
    The BASIC Stamp can only do one thing at a time, so when you get to the RCTIME instruction the BASIC Stamp will be ready. What you must do before you use RCTIME however, is charge/discharge the capacitor that is part of the RC circuit. The manual/help file has details.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
Sign In or Register to comment.