User manual

Script Name What it does
evalBase.py (synapse.evalBase.py) An importable script that adds a library of helpful rounes for
use with the Synapse evaluaon boards. Board detecon,
GPIO programming, and relay control are just a few
examples.
EvalHeartBeat.py Example of displaying mulple networking parameters about
a node on a single seven-segment display.
gpsNmea.py Example decoding of data from a serial GPS. (There is an
applicaon note available from the Synapse Wireless website
that expands on this funconality.)
hardTime.py (synapse.hardTime.py) Helper script useful for SNAPpy benchmarking. NOTE as of
version 2.4, this script just imports the appropriate
“plaorm-specific” helper script.
hexSupport.py (synapse.hexSupport.py) Helper script that can generate hexadecimal output.
i2cTests.py Demonstrates interacng with I
2
C devices.
ledCycling.py An example of using PWM.py. Varies the brightness of the
LED on the Demonstraon Boards.
ledToggle.py Simple example of toggling an LED based on a switch input.
LinkQualityRanger.py Radio range tesng helper.
McastCounter.py Maintains and displays a two-digit count, incremented by
buon presses. Resets the count when the buon is held
down. Broadcasts “count changes” to any listening units, and
also acts on “count changes” from other units.
NewPinWakeupTest.py Demonstrates using the funcons in pinWakeup.py.
nvparams.py (synapse.nvparams.py) Provides named enumeraons for referencing NV
parameters.
pinWakeup.py
(synapse.pinWakeup.py)
An importable script that adds “wake up on pin change”
funconality. NOTE as of version 2.2, this script mainly just
imports the appropriate “plaorm-specific” helper script.
plaorms.py (synapse.plaorms.py) Import this to automacally enable the import of needed
“plaorm dependent” scripts. These scripts enable you to
code based on SNAP Engine GPIO pin numbers rather than
tracking pin outputs on different SNAP Engine plaorms.
50 SNAP® Network Operang System