Specifications

Technique Example scripts that demonstrate this technique
The use of “device types” as
generic addresses, or to make a
single script behave differently
on different nodes
buzzer.py
DarkDetector.py
evalBase.py
hardTime.py
sevenSegment.py
Sleeping and waking up on a
button press, importing and using
pinWakeup.py
protoSleepCaster.py
Knowing when a RPC call has
been sent out, by using
HOOK_RPC_SENT.
protoSleepCaster.py
Distributing a single application
across multiple nodes
DarkDetector.py + buzzer.py
TemperatureAlarm.py + TemperatureAlarmBridge.py
Monitoring link quality using the
getLq() function
LinkQualityRanger.py
Parsing received serial data in a
SNAPpy script
(contrast with Transparent
Mode)
CommandLine.py
gpsNmea.py
Displaying hexadecimal data on
the seven-segment display
EvalHeartBeat.py
McastCounter.py
sevenSegment.py
Displaying custom characters on
the seven-segment display
DarkRoomTimer.py
EvalHeartBeat.py
Configuring Transparent Mode
AKA Data Mode
datamode.py
dataModeNV.py
Varying LED brightness using
Pulse Width Modulation
ledCycling.py
PAN4555_ledCycling.py
PAN4561_ledCycling.py
ZIC2410ledCycling.py
MC13224_ledCycling.py
MC13224_PWM.py
STM32W108xB_LedCycling.py
Controlling a servo motor using
Pulse Width Modulation
servoControl.py
Writing a script so that it can run
on multiple hardware platforms
NewPinWakeup.py +
pinWakeup.py +
pinWakeupRFEngine.py +
pinWakeupPAN4555_SE.py +
pinWakeupPAN4561_SE.py +
pinWakeupZIC2410.py
pinWakeupSTM32W108xB.py
Using external memory with a
SNAP Engine
i2cTests.py + CAT24C128.py,
ZIC2410spiTests.py + AT25FS010.py
Higher resolution ADC spiTests.py + LTC2412.py
Page 118 of 202 SNAP Reference Manual Document Number 600-0007K