Shop OBEX P1 Docs P2 Docs Learn Events
Help with Basic stamp2 — Parallax Forums

Help with Basic stamp2

vikingviking Posts: 30
edited 2006-09-02 03:09 in BASIC Stamp
·I have programmed the BS1's with·very simple· programs to do Christmas lights. I am trying to do a BS2 using 10 out put pins put somehow the editor is giving me all kinds of error messages. Here is a short sample. What am I doing wrong.
·'thie is the program for the tumbling bears
· ' first we initalize the pins
··
·dirs=%1111111111111111
·pins=%0000000000
·Start:
· pins=%0000000001
·pause· 0
· pins=%0000000010
·pause· 0
· pins=%00000000100
·pause· 0
· pins=%0000000100
·Goto Start
·Appreciate any help. This is so simple it is embaressing Thanks

Comments

  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-09-02 03:09
    viking -

    The PINS command is unique to the BS-1. The equivalent command for the BS-2 series is generally INS. This can all be found in the PBASIC Help File, or the PBASICX Syntax and Reference Manual.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
Sign In or Register to comment.