32812 Parallax Inc, 32812 Datasheet - Page 5

BOARD PROPELLER PROTO USB

32812

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

Specifications of 32812

Contents
Board
Processor To Be Evaluated
P8X32A-Q44
Interface Type
USB, VGA
Dimensions
7.75 cm x 10.6 cm
Maximum Operating Temperature
+ 80 C
Operating Supply Voltage
6 V to 9 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
For Use With
122-32000 - MANUAL PROPELLER
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Part 3: Your first SPIN program.
Open the Propeller Tool and type in the program listed below.
(Make sure you indent the last line with four spaces just like it is printed. As you type CON,
OBJ, and PUB the background colors will change to help you see each section of your program.)
CON
_clkmode = xtal1 + pll16x
_xinfreq = 5_000_000
OBJ
term : "PC_Interface"
PUB Main
term.start(31,30)
repeat
term.str(string("Hello World",13))
Before we send this program to the Propeller, we need to show the Propeller Tool where to find
“PC_Interface.” Click on File, and Save As. Then open the Propterminal folder and give our
new program the name Hello. Now that both our Hello program and PC_Interface are in the
same location, switch on your Protoboard and press F11.
If the program was uploaded without errors, open Propterminal once more, and press the reset
button on the Protoboard to see the program run.
By now you are beginning to see just how easy it is to program the Propeller microprocessor.
We’ve been using Propterminal as our display screen, but by adding three resistors and a female
RCA connection we could run the same program with the Protoboard connected directly to a TV
just by changing one line in our program. In fact, if we add a small piece of wire as an antenna
and we can broadcast to a nearby television. More information on adding hardware to your
Protoboard can be found in The Propeller Cookbook. (see Part 5)

Related parts for 32812