Shop OBEX P1 Docs P2 Docs Learn Events
Paintball marker + BS2 — Parallax Forums

Paintball marker + BS2

Fox9p3400Fox9p3400 Posts: 1
edited 2007-10-08 23:59 in BASIC Stamp
I don't wanna shell out for a board so i'm using my Bs2. How would I implement a soft on off with a button? Like Push and hold for 3 secs to turn on (wake from sleep) and the same to turn off (go into sleep + wait for on signal). I using this with an electronic paintball gun and driving the solenoid with a tip 41c. I do have a basic understanding of how electronics works. I'm just a little rusty with Pbasic.

Post Edited (Fox9p3400) : 10/8/2007 11:29:11 PM GMT

Comments

  • D FaustD Faust Posts: 608
    edited 2007-10-08 23:59
    BUTTON command?· (See help file for more info)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    LOOKDOWN ThisThread, [noparse][[/noparse]Your_?, My_?, Cool_Thing], looknum
    LOOKUP looknum, [noparse][[/noparse]1, 2, 3], subnum
    ON subnum GOTO Hope_this_helps, Thanks!, WOW!!
    END 
    
Sign In or Register to comment.