Help with Basic stamp2
viking
Posts: 30
·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
·'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
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 -->