Shop OBEX P1 Docs P2 Docs Learn Events
Hold an output signal high — Parallax Forums

Hold an output signal high

William01William01 Posts: 2
edited 2007-03-30 19:09 in BASIC Stamp
This seems really simple, and I've tried searching the forum (as well as google and the programming manual) but couldn't find it.

Is it possible to hold an output signal high while the stamp carries out other instructions, and then lower it later on when needed?

If so, how is this done?

Comments

  • stamptrolstamptrol Posts: 1,731
    edited 2007-03-30 19:00
    Assume you're talking about pin 1, for instance.

    HIGH 1 will turn it on

    It will stay on until later in the program when you say

    LOW 1

    As long as your other programming doesn't overwrite these instructions, they will behave correctly.

    Cheers,

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Tom Sisk

    http://www.siskconsult.com
    ·
  • William01William01 Posts: 2
    edited 2007-03-30 19:09
    Awesome. Thanks, Tom!
Sign In or Register to comment.