27220 Parallax Inc, 27220 Datasheet - Page 30

BOOK STAMPWORKS

27220

Manufacturer Part Number
27220
Description
BOOK STAMPWORKS
Manufacturer
Parallax Inc
Datasheet

Specifications of 27220

Accessory Type
Booklet
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
StampWorks
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable
3. Use Meaningful Names
Be verbose when naming constants, variables, and program labels. The compiler will
allow names up to 32 characters long. Using meaningful names will reduce the
number of comments and make your programs easier to read, debug and maintain.
4. Naming I/O Pins
BASIC Stamp I/O pins are a special case as various elements of the PBASIC language
require a pin to be a constant value, an input variable or an output variable. Begin
I/O pin names with an uppercase letter and use mixed case, using uppercase letters
at the beginning of new words within the name. When using the BS2, the PIN
definition is used. This will cause the compiler to use the correct variant (constant
value, input bit, or output bit) for the pin.
Since connections don't change during the program run, I/O pins are named like
constants (#5) using mixed case, beginning with an uppercase letter.
5. Naming Constants
Begin constant names with an uppercase letter and use mixed case, using uppercase
letters at the beginning of new words within the name.
6. Naming Variables
Begin variable names with a lowercase letter and use mixed case, using uppercase
letters at the beginning of new words within the name. Avoid the use of internal
variable names (such as B0 or W1) in your programs.
automatically assign RAM space by declaring a variable of specific type.
HeaterCtrl
AlarmCode
waterLevel
PIN
CON
VAR
15
25
Word
Allow the compiler to

Related parts for 27220