Loading...
Searching...
No Matches
Standalone examples

Example scripts for the Analog Shield that use phyduino.py (import phyduino as mcu) with analog_shield.py, in examples/<name>/. They are written like the phyduino.py examples, with a while True: loop, but have no arduino.py copy.

With analog_shield.py on the board, run a script from PyCharm, or with mpremote run examples/<name>/main.py. To have it run every time the board starts, copy its main.py to the board: mpremote cp examples/<name>/main.py :main.py, then press RESET.

Example What it shows
Demo The temperature once a second, with the green LED lit while it runs
Plotter The shield's readings as label:value pairs for a serial plotter; the knob selects A0 or A3