Specifications

Technique Example scripts that demonstrate this technique
Controlling a GPIO pin using
writePin(), etc.
buzzer.py
evalBase.py
gpsNmea.py
ledToggle.py
protoFlasher.py
protoSleepCaster.py
Generating a short pulse using
pulsePin()
buzzer.py
Reading an analog input using
readAdc(), including auto-
ranging at run-time
DarkDetector.py
Performing periodic actions,
including the use of @setHook()
to associate a user defined
routine with the HOOK_100MS
event or other timed events
buzzer.py
DarkDetector.py
DarkRoomTimer.py
EvalHeartBeat.py
gpsNmea.py
LinkQualityRanger.py
McastCounter.py
protoFlasher.py
protoSleepCaster.py
Using the seven-segment display DarkRoomTimer.py
evalBase.py
EvalHeartBeat.py
LinkQualityRanger.py
McastCounter.py
sevenSegment.py
Deriving longer time intervals
from the 100 millisecond event
buzzer.py
DarkRoomTimer.py
EvalHeartBeat.py
McastCounter.py
Thresholding, including periodic
sampling and changing the
threshold at run-time
DarkDetector.py
Discovering another node with a
needed capability
DarkDetector.py
Advertising a service to other
wireless nodes
buzzer.py
Adding new capabilities by
writing directly to processor
registers (peek() and poke())
pinWakeup.py
PWM.py
[Platform]HardTime.py
Writing parameters to Non-
volatile (NV) storage
evalBase.py
DatamodeNV.py
SNAP Reference Manual Document Number 600-0007K Page 117 of 202