Shop OBEX P1 Docs P2 Docs Learn Events
help with program please — Parallax Forums

help with program please

jeffhjeffh Posts: 1
edited 2008-04-07 21:00 in BASIC Stamp
I am new with this stuff.· I would like to make a program that would use input 15 which is a momentary normally open contact that goes high when button is depressed.· I want to control a few outputs then when input 15 goes high I want the program to step to the next stage, then upon depressing the button once again I want to step through to the next portion of the program.· The button I want to use as just a step button.· When I try this on my own the program seems to go through regardless of any changes to input 15.· I am sure all you experts out there will find this simple .· Thank you.l

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-04-07 19:30
    Feel free to ATTACH the program and we will be glad to look at it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • jmalaysiajmalaysia Posts: 97
    edited 2008-04-07 21:00
    Try putting this at the beginning and wherever you want the program to wait for the button press:

    DO UNTIL in15=1
    LOOP
Sign In or Register to comment.