tmckay1 / pi_read_analog

An example program to read analog inputs on a raspberry pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example program to read analog inputs on a raspberry pi


Languages

Language:Python 100.0%