27297 Parallax Inc, 27297 Datasheet - Page 60

KIT STAMPWORKS WITH BS2-IC

27297

Manufacturer Part Number
27297
Description
KIT STAMPWORKS WITH BS2-IC
Manufacturer
Parallax Inc
Datasheet

Specifications of 27297

Lead Free Status
Contains lead
Product
Microcontroller Accessories
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
27297SQ
Manufacturer:
NS
Quantity:
4
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 27297