Loading...
Searching...
No Matches
phyduino.py

The Phyduino Pico library: import phyduino as mcu, with MicroPython-style names. More...

Topics

 Pins
 Pin names, the pin map, digital pins and PWM.
 On-board LED
 The green built-in LED on GPIO5.
 Analog inputs
 Reading A0-A5, the same functions on every pin.
 Power and temperature
 The USB-C supply (VBUS), USB Power Delivery and the RP2040's temperature.
 Header buses
 I2C, SPI and UART set up on the header pins.
 External ADC
 The MAX11635 chip behind A3-A5, by channel.

Functions

 version ()
 Gets the library version.

Detailed Description

The Phyduino Pico library: import phyduino as mcu, with MicroPython-style names.

Function Documentation

◆ version()

version ( )

Gets the library version.

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