Shop OBEX P1 Docs P2 Docs Learn Events
help basic stamp 2 — Parallax Forums

help basic stamp 2

Oni_xadeOni_xade Posts: 2
edited 2008-07-28 00:54 in BASIC Stamp
i finished the 2 programs but how do i make it so once the pir is triggered it starts the servo.then restart

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-07-28 00:54
    Put the pir code first with a GOSUB to the servo code and then a return at the end of the servo code. If you would attach your code (use the post reply button for more options) perhaps we could be more specific.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.