Raspberry Pi Pico practice problem · Raspberry Pi Pico
Two channels
MediumBudget $9MicroPython
The MCP3008 is on GP16–GP19 (DOUT, CS, CLK, DIN). CH0 is on 3V3, so it reads full scale; CH1 is on a 10 kΩ/10 kΩ divider, about half.
Read both channels in single-ended mode and print the two codes, one per line. Channel 0 should be near 1023, channel 1 near 512.