Commit Graph

2 Commits

Author SHA1 Message Date
Peter Harper
8661b5cf96 Fix PICO_VBUS_PIN (#393)
Inexplicably using the wrongly named constant. Should be PICO_VBUS_PIN.

* In read_vsys ignore initial readings

We were doing this for pico_w but it seems it's needed for pico as well.
2023-06-08 10:01:47 -05:00
Peter Harper
a9b3118443 Add an example to read VBUS and VSYS (#331)
The process is different on Pico and Pico W so demonstrate how to do it.

Fixes #324
2023-06-06 12:45:04 -05:00