27220 Parallax Inc, 27220 Datasheet - Page 60

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
project. In some programs where we may have several sections used for testing, or
we need the ability to turn test code on and off, inserting a conditional compilation
block will facilitate the quick removal and restoration of test code.
We can use #DEFINE to create a conditional constant
When _TestMode is defined as 1 the code nested in #IF-#THEN will run, otherwise
it will not even be compiled or downloaded to the BASIC Stamp.
Be aware that enabling conditional compilation blocks like the one shown above will
increase the program size – if you’re going to be creating a large program you should
enable them from the beginning so that you don’t run out of space when you need
them later.
#DEFINE _TestMode = 1
#IF _TestMode #THEN
#ENDIF
pattern = %00111111

Related parts for 27220