User manual
Script Name What it does
evalBase.py (synapse.evalBase.py) An importable script that adds a library of helpful rounes for
use with the Synapse evaluaon boards. Board detecon,
GPIO programming, and relay control are just a few
examples.
EvalHeartBeat.py Example of displaying mulple networking parameters about
a node on a single seven-segment display.
gpsNmea.py Example decoding of data from a serial GPS. (There is an
applicaon note available from the Synapse Wireless website
that expands on this funconality.)
hardTime.py (synapse.hardTime.py) Helper script useful for SNAPpy benchmarking. NOTE – as of
version 2.4, this script just imports the appropriate
“plaorm-specific” helper script.
hexSupport.py (synapse.hexSupport.py) Helper script that can generate hexadecimal output.
i2cTests.py Demonstrates interacng with I
2
C devices.
ledCycling.py An example of using PWM.py. Varies the brightness of the
LED on the Demonstraon Boards.
ledToggle.py Simple example of toggling an LED based on a switch input.
LinkQualityRanger.py Radio range tesng helper.
McastCounter.py Maintains and displays a two-digit count, incremented by
buon presses. Resets the count when the buon is held
down. Broadcasts “count changes” to any listening units, and
also acts on “count changes” from other units.
NewPinWakeupTest.py Demonstrates using the funcons in pinWakeup.py.
nvparams.py (synapse.nvparams.py) Provides named enumeraons for referencing NV
parameters.
pinWakeup.py
(synapse.pinWakeup.py)
An importable script that adds “wake up on pin change”
funconality. NOTE – as of version 2.2, this script mainly just
imports the appropriate “plaorm-specific” helper script.
plaorms.py (synapse.plaorms.py) Import this to automacally enable the import of needed
“plaorm dependent” scripts. These scripts enable you to
code based on SNAP Engine GPIO pin numbers rather than
tracking pin outputs on different SNAP Engine plaorms.
50 SNAP® Network Operang System