User manual

Script Name What it does
STM32W108xB_ledCycling.py Uses the PWM support rounes in STM32W108xB_PWM.py
to vary the brightness of an LED aached to the PB6 (IO14)
pin. By changing the script, the PWM funconality 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”
funconality of the chip
STM32W108xB_sleepTests.py An example of using the “wake up” capabilites
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 buon of a DiZiC MB851 Evaluaon
board
Here is a second table lisng 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
Imporng evalBase.py and using
the helper funcons within it
CommandLine.py
DarkDetector.py
DarkRoomTimer.py
EvalHeartBeat.py
gpsNmea.py
ledToggle.py
LinkQualityRanger.py
McastCounter.py
protoSleepCaster.py
SNAP® Network Operang System 57