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
This commit is contained in:
Peter Harper
2023-06-06 18:45:04 +01:00
committed by GitHub
parent 0da9d4576b
commit a9b3118443
6 changed files with 218 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ App|Description
[onboard_temperature](adc/onboard_temperature) | Display the value of the onboard temperature sensor.
[microphone_adc](adc/microphone_adc) | Read analog values from a microphone and plot the measured sound amplitude.
[dma_capture](adc/dma_capture) | Use the DMA to capture many samples from the ADC.
[read_vsys](adc/read_vsys) | Demonstrates how to read VSYS to get the voltage of the power supply.
### Clocks