User manual
Script Name What it does
STM32W108xB_ledCycling.py Uses the PWM support rounes in STM32W108xB_PWM.py
to vary the brightness of an LED aached to the PB6 (IO14)
pin. By changing the script, the PWM funconality can be
demonstrated on the other 11 PWM capable pins
pinWakeupSTM32W108xB.py Shows how to implement advanced hardware features from
SNAPpy scripts, in this case how to access the “wake up”
funconality of the chip
STM32W108xB_sleepTests.py An example of using the “wake up” capabilites
implemented in pinWakeupSTM32W108xB.py
STM32W108xB_HardTime.py Demonstrates how to access a free-running hardware mer
(for example, for benchmarking purposes)
LIS302DL.py Demonstrates how to access the accelerometer readings
from a STMicroelectronics LIS302DL chip
i2cTestsSTM32W108.py Demonstrates how to access various I
2
C devices, including
the LIS302DL chip on the MB851 board
McastCounterMB851evb.py The classic MCastCounter example, this one uses the two
LEDs and the S1 push buon of a DiZiC MB851 Evaluaon
board
Here is a second table lisng some of the included scripts, this me organizing them by the techniques they
demonstrate. This should make it easier to know which scripts to look at first.
Technique Example scripts that demonstrate this technique
Imporng evalBase.py and using
the helper funcons within it
CommandLine.py
DarkDetector.py
DarkRoomTimer.py
EvalHeartBeat.py
gpsNmea.py
ledToggle.py
LinkQualityRanger.py
McastCounter.py
protoSleepCaster.py
SNAP® Network Operang System 57