Loading...
Searching...
No Matches
analog_shield.py

The Analog Shield library: import analog_shield as shield, on top of phyduino.py. More...

Topics

 LEDs
 The green (D1) and red (D2) LEDs on D6 and D5.
 Rotary encoder
 The rotary encoder (ENC1) on D3 and D4, and its push switch on D2.
 Temperature and amplifier
 The LMT84 temperature sensor (U1) and the TLV2472 amplifier (U2).
 Potentiometer
 The potentiometer (RV1) on A5.

Functions

 version ()
 Gets the library version.

Detailed Description

The Analog Shield library: import analog_shield as shield, on top of phyduino.py.

Copy analog_shield.py to the board next to your main.py. It needs the Phyduino Pico firmware, which has phyduino.py built in.

Function Documentation

◆ version()

version ( )

Gets the library version.

Returns
The version string, MAJOR.MINOR.PATCH, e.g. "0.1.0-rc.1".
Example
print(shield.version())