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

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
This means that every instance of an object that is, or may be, required must be declared at
compile time in the
Quick Review: Ex 8
Page 130 · Propeller Manual v1.0
Applications:
Objects:
Spin language:
I/O pins are set to outputs only while a cog that set them that way remains active, see
DIRA, DIRB
Compile & View Info: F8 key (or select Run → Compile Current → View Info…),
see Object Info, page 55.
o Use unique symbols, or elements of an array, for each distinct object in use.
o Use one copy of an object’s code and one or more copies of its global
o An object array may be created in object blocks similar to a variable array in
o An object’s lifetime is static, consuming a specific, static amount of memory
o
o I/O registers (
variables.
variable blocks.
regardless of whether or not it is active. This eliminates the possibility of
fragmented memory during normal run-time use and ensures deterministic
behavior in real-time systems.
REPEAT
multiple contiguous pins; where reg is the register (
and b are I/O pin numbers, see
280, and
, page 212.
OBJ
command: (See
block, just as we did in Exercise 8 with the array of Output objects.
Finite, counted loop:
Variable is the variable to use as the counter and Start and Finish
indicate the range.
The
loop to terminate immediately, see
INA, INB
QUIT
DIRx
command works inside
on page 225.
,
OUTx
REPEAT
, and
, page 293).
REPEAT
DIRA, DIRB
INx
) may use the form reg[a..b] to affect
Variable
REPEAT
QUIT
on page 212,
, page 291.
FROM
loops only and causes the
DIRx
Start
,
OUTA, OUTB
OUTx
TO
, or
Finish where
INx)
on page
and a

Related parts for 122-32000