/pi_read_analog

An example program to read analog inputs on a raspberry pi

Primary LanguagePython

pi_read_analog

An example program to read analog inputs on a raspberry pi. Uses a MCP3008 Analogue to Digital Converter

Installation

Assuming you are using the MCP3008, you'll need to run

sudo pip3 install adafruit-circuitpython-mcp3xxx

on the command line. Then run the program with

sudo python3 ./potentiometer.py