122-32000 Parallax Inc, 122-32000 Datasheet - Page 248
122-32000
Manufacturer Part Number
122-32000
Description
MANUAL PROPELLER
Manufacturer
Parallax Inc
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
- Current page: 248 of 438
- Download datasheet (5Mb)
Method reference symbol (a period ‘
Num.ToStr
TV_Terminal
parentheses, and
Also notice that the second parameter of the
Object-Constant reference symbol; it gives access to an object’s constants. In this case,
Num#DEC
See Object-Method Reference ‘
Symbols on page 312 for more information.
Multiple instances of an object can be declared with the same object symbol using array
syntax and can be accessed similar to arrays as well. For example:
OBJ
PUB GenPWM
This example declares
object itself just happens to be called “
Start
Both instances of the
of its program code (
is because, for each instance, the code is the same but each instance needs its own variable
space so it can operate independent of the other.
An important point to consider with multiple instances of an object is that there is only one
copy of its
contain initialized data and regions set aside for workspace purposes, all with symbolic
names. Since there is only one copy of it for multiple instances of an object, that area is
shared among all instances. This provides a convenient way to create shared memory
between multiple instances of a particular object.
Scope of Object Symbols
Object symbols defined in Object Blocks are global to the object in which they are defined
but are not available outside of that object. This means that these object symbols can be
accessed directly from anywhere within the object but their name will not conflict with
symbols defined in other parent or child objects.
Page 248 · Propeller Manual v1.0
PWM[2] : "PWM"
PWM[0].Start
PWM[1].Start
method of each instance using indexes 0 and 1 with the object symbol array,
– Spin Language Reference
refers to the
, for instance, calls the
DAT
’s public
block because it may contain Propeller Assembly code.
Term.Str
DEC
PUB
PWM
PWM
Str
s,
(decimal format) constant in the
object are compiled into the application such that there is one copy
has one parameter.
as an array of two objects (two instances of the same object). The
PRI
method.
s, and
.
Numbers
’ and Object-Constant Reference ‘
DAT
In this case the
.
PWM
s) and two copies of its variable blocks (
’) and finally the name of the method to call.
object’s public
” as well. The public method,
Num.ToStr
call is
Num.ToStr
Numbers
ToStr
Num#DEC
method.
object.
has two parameters, in
. The
#
DAT
’> in Table 4-16:
Term.Str
GenPWM
blocks can also
#
symbol is the
VAR
PWM
, calls the
calls the
s). This
.
Related parts for 122-32000
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT SMART SENSORS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: