User manual
Script Name What it does
protoFlasher.py Just blinks some LEDs on the SN171 Proto Board.
protoSleepcaster.py Like McastCounter.py but this script is only for the SN171
Proto Board. Addionally, it demonstrates pung the node
to sleep between buon presses.
PWM.py (synapse.PWM.py) An importable script that adds support for Pulse Width
Modulaon (PWM) on pin GPIO 0 on plaorms based on the
MC9S08GB60A chip from Freescale.
servoControl.py A second example of using PWM.py. Controls the posion of
a standard hobby servo motor.
sevenSegment.py Script providing support for the seven-segment display on
the Synapse SN163 Bridge demonstraon board for plaorms
that do not include the setSegments()
built-in funcon.
snapsys.py (synapse.snapsys.py) Required by Portal, do not move, edit, or delete. Import this
script to enable compile-me populaon of the plaorm and
version variables.
spiTests.py Demonstrates interacng with SPI devices.
switchboard.py (synapse.switchboard.py) An importable script that defines some constants (for
readability) for switchboard-related enumeraons.
sysInfo.py An importable script that defines some constants (for
readability) for the getInfo() funcon’s enumeraons.
Throughput.py Can be used to benchmark packet transfer between two
units.
Scripts Specific to I
2
C
Script Name What it does
M41T81.py
(synapse.M41T81.py)
Demonstrates interfacing to a Clock Calendar chip via I
2
C
CAT24C128.py
(synapse.CAT24C128.py)
Demonstrates interfacing to a serial EEPROM chip via I
2
C
LIS302DL.py
(synapse.LIS302DL.py)
Demonstrates interfacing to an Accelerometer chip via I
2
C
SNAP® Network Operang System 51