Download User Guide - Synapse Wireless

Transcript
Script Name
What it does
pinWakeupATmega128RFA1.py
Pin Wakeup functionality specifically for the
ATmega128RFA1-based modules. (imported
automatically by pinWakeup.py)
STK600.py
Defines and LED control routines for the STK600 board.
This is imported by STK600demo.py.
STK600demo.py
Implements an up/down binary timer on the STK600
demo board. Push the button to reverse the direction.
Scripts specific to the SM700/MC13224 Platforms
These scripts are meant to be run on the Synapse SM700 surface-mount module, or the Freescale MC13224 chip
on which it is based, or on a compatible board that uses one of the two.
Script Name
What it does
MC13224_PWM.py
Demonstrates Pulse Width Modulation on the
TMR0/TMR1/TMR2 pins (GPIO8-10). For an example of using
this script, see MC13224_ledCycling.py.
MC13224_ledCycling.py
Uses the PWM support routines in MC13224_PWM.py to
vary the brightness of an LED attached to the TMR0(GPIO8)
pin. By changing variable “TMR” within the script, the LED
can be moved to either TMR1 (GPIO9) or TMR2 (GPIO10).
McastCounterSM700evb.py
The classic MCastCounter example, this one uses the LEDs
and the SW1 push button of a CEL Freestar Pro Evaluation
board (EVB)
Scripts specific to the STM32W108xB Platforms
These scripts are meant to be run on the DiZiC MB851 evaluation board, or on a compatible hardware design
based on the underlying STM32W108CB and STM32W108HB chips.
Script Name
What it does
STM32W108xB_Example1.py
Simple example of how to blink LEDs and read a push button
input from SNAPpy. The LED and button definitions assume
the script is running on a DiZiC MB851 evaluation board.
STM32W108xB_GPIO.py
Some helper definitions and routines for working with the
peripherals built into the ST Microelectronics STM32W108xB
chips. For an example of using this script, see
STM32W108xB_PWM.py
60
SNAP® Network Operating System