Specifications
BASIC Stamp II
Page 260 • BASIC Stamp Programming Manual 1.8 • Parallax, Inc.
End
END
End the program, placing the BS2 in a low-power mode.
Explanation
End puts the BS2 into its inactive, low-power mode. In this mode the
BS2’s current draw (exclusive of loads driven by the I/O pins) is
approximately 50µA.
End keeps the BS2 inactive until the reset button is pushed or the power
is cycled off and back on.
Just as during Sleep intervals, pins will retain their input or output
settings after the BS2 is deactivated by End. So if a pin is driving a load
when End occurs, it will continue to drive that load after End. However,
at approximate 2.3-second intervals, output pins will disconnect (go
into input mode) for a period of approximately 18 ms. Then they will
revert to their former states.
For example, if the BS2 is driving an LED on when End executes, the
LED will stay lit after end. But every 2.3 seconds, there will be a visible
wink of the LED as the output pin driving it disconnects for 18 ms.










