32212 Parallax Inc, 32212 Datasheet - Page 4

BOARD PROPELLER PROTO

32212

Manufacturer Part Number
32212
Description
BOARD PROPELLER PROTO
Manufacturer
Parallax Inc
Series
Propeller™r
Type
MCUr
Datasheets

Specifications of 32212

Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
P8X32A
For Use With
130-32212 - KIT ACC PROPELLER PROTO BOARD122-32000 - MANUAL PROPELLER
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
32212PAR
Have you ever programmed in BASIC on an old microcomputer? This version of BASIC is very
similar. Type in the following program. Press ENTER after each line.
Now type RUN and press Enter. You should get a rainbow of "Hello World" from the Propeller.
BASIC and your program are running on your Protoboard, sending the information to be
displayed on Propterminal. Type LIST and press Enter to see your program.
This version of BASIC is based on FemtoBASIC written by Mike Green. I've added a few
commands to take advantage of Propterminal. The original version includes documentation for
the BASIC commands it supports and can be downloaded here:
http://obex.parallax.com/objects/28/
Here’s is another BASIC program you can try. Again, press Enter after each line.
Hit ESC when you want to stop the program.
Don't get too hooked on BASIC. The real programming power for the Propeller is in the
Propeller Tool. BASIC runs faster on the Propeller than it does on old microcomputers, but is
slow compared to what can be done in Spin and Assembly language. In the next exercise we will
write a program in the Spin language using the Propeller Tool.
10 FOR X = 1 TO 16
20 COLOR X
30 PRINT "Hello World"
40 NEXT X
10 CLR
20 A=RND (300)
30 B=RND (200)
40 C=RND (15)
50 COLOR C
60 PLOT A,B
70 GOTO 20

Related parts for 32212