Shop OBEX P1 Docs P2 Docs Learn Events
BS1 — Parallax Forums

BS1

RtyleraRtylera Posts: 1
edited 2011-10-08 01:14 in General Discussion
I am really new to all of this and I have written code for the BS2, but I would like to try the BS1. Does anyone know how to convert BS2 to BS1?

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2011-10-07 15:30
    You download a copy of the BASIC Stamp Syntax and Reference Manual, then read through it carefully. There's a large section that talks about the architecture of the BS1 and the BS2. Compare them ... make notes. The section on the operators identifies clearly which ones are supported on the BS1. The individual chapters on the different statements clearly identify which ones are implemented on the BS1 and any differences in syntax or operation.

    Download the BS1 application notes and read through them. Look at the Nuts and Volts Columns that deal with the BS1 specifically.

    Main differences: The BS1 has only 8 I/O pins. It's slower than the BS2. It has fewer bytes of variables. It has less program space available. Many of the more complex statements are not available. Those that are available are often a little different. SERIN, SEROUT, and DEBUG are some of them. Only some of the arithmetic operations from the BS2 are included.

    Look here for some of the documentation downloads. The Nuts and Volts Columns index is here.
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2011-10-08 01:14
    I suspect the articles in Nuts n' Volts that are completely dedicated to one BS1 project will be an easy confidence builder. Just work through one with the BasicStamp Manual as an additional reference.
Sign In or Register to comment.