User manual
Technique Example scripts that demonstrate this technique
Performing acons at startup,
including using the @setHook()
funcon to associate a user-defined
funcon 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 acons when a buon
is pressed, including the use of
monitorPin() to enable the
generaon of HOOK_GPIN events,
and the use of @setHook() to
associate a user-defined roune
with those events
buzzer.py
DarkRoomTimer.py
gpsNmea.py
ledToggle.py
McastCounter.py
protoSleepCaster.py
Sending mulcast 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
58 SNAP® Network Operang System