baisic code question
Sorry for my ignorance. I have just started learning baisic in order to program an accelerameter. I found sample code on the parralax website for a BS1 processer but I am using BS2. When I converted the stamp to BS2 some of the sample code no longer works. Unfortunately because of my lack of knowledge I have no idea why part of the program will not tolkenize.
SYMBOL Dio = PIN7 ' data to/from module
Above is an example of some code that causes an error. Also, I had to remove # infront of a lot of the code in order for it to tolkenize. Thanks for any help and have a great week.
SYMBOL Dio = PIN7 ' data to/from module
Above is an example of some code that causes an error. Also, I had to remove # infront of a lot of the code in order for it to tolkenize. Thanks for any help and have a great week.
Comments
Dio Pin 7
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Don't have VGA?
Newzed@aol.com
·
A good resource for beginning BS2 programmers is "What's a Microcontroller?" which is available as a free download here:
http://www.parallax.com/detail.asp?product_id=28152
The same author has written tutorials using the Memsic Dual-Axis Accelerometer, which are posted on the forum here:
http://forums.parallax.com/showthread.php?p=560570
I hope this helps,
-Stephanie Lindsay
Editor, Parallax Inc
Expected ':' or end-of-line
use
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think Inside the box first and if that doesn't work..
Think outside the BOX!