122-32000 Parallax Inc, 122-32000 Datasheet - Page 103

MANUAL PROPELLER

122-32000

Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
Datasheets

Specifications of 122-32000

Accessory Type
Manual
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
Propeller Education (PE) Kit
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Quick Review: Ex 2 & 3
The Propeller has eight identical processors, called cogs.
Spin language:
o Any number of cogs can be running or halted at any time as directed by the
o Each cog can run independent or cooperative tasks.
o At boot-up, Cog 0 runs the Spin Interpreter to execute the main memory-
o Organized in blocks that have distinct purposes.
o Block designators must be in column 1 of a line.
o Each block type can occur multiple times and can be arranged in any order.
o The very first
o Underscores “_” in constants denote logical groupings, like thousands in
o Types of comments:
application.
based Spin application.
starting point.
decimal numbers.
CON
VAR
OBJ
PUB
PRI
DAT
Code comments; visible in source code only. Great for notes to
developers regarding function of specific code.
Document comments; visible in source code and documentation
view. Great for object documentation. Can even include schematics,
timing diagrams and other special symbols.
-
-
-
-
-
-
PUB
Defines global constants, see page 194.
Defines global variables, see page 315.
Defines object references, see page 247.
Defines a public method, see page 287.
Defines a private method, see page 286.
Defines data, buffers, and assembly code, see page 208.
'…
{…}
''…
{{…}}
block in the very first object is the Propeller Application’s
– Single-line; starts at apostrophe and continues to
– Multi-line; starts and ends with single curly
– Single-line; starts at double-apostrophe and
– Multi-line; starts and ends with double-curly
end of line.
braces.
continues to end of line.
braces.
Propeller Manual v1.0 · Page 103

Related parts for 122-32000