Specifications

Here is a second table listing some of the included scripts, this time organizing them by the techniques
they demonstrate. This should make it easier to know which scripts to look at first.
Technique Example scripts that demonstrate this technique
Importing evalBase.py and using
the helper functions within it
CommandLine.py
DarkDetector.py
DarkRoomTimer.py
EvalHeartBeat.py
gpsNmea.py
ledToggle.py
LinkQualityRanger.py
McastCounter.py
protoSleepCaster.py
Performing actions at startup,
including using the @setHook()
function to associate a user-
defined function with the
HOOK_STARTUP event
CommandLine.py
DarkDetector.py
DarkRoomTimer.py
EvalHeartBeat.py
gpsNmea.py
ledToggle.py
LinkQualityRanger.py
McastCounter.py
protoFlasher.py
protoSleepCaster
Performing actions when a
button is pressed, including the
use of monitorPin() to enable the
generation of HOOK_GPIN
events, and the use of
@setHook() to associate a user-
defined routine with those events
buzzer.py
DarkRoomTimer.py
gpsNmea.py
ledToggle.py
McastCounter.py
protoSleepCaster.py
Sending multicast commands LinkQualityRanger.py
McastCounter.py
protoSleepCaster.py
Sending unicast commands DarkDetector.py
Using global variables to
maintain state between events
DarkDetector.py
DarkRoomTimer.py
EvalHeartBeat.py
gpsNmea.py
ledToggle.py
LinkQualityRanger.py
McastCounter.py
protoFlasher.py
protoSleepCaster.py
Page 116 of 202 SNAP Reference Manual Document Number 600-0007K