Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 942 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 942 Bytes

AD7490.py

Python library for the Analog Devices AD7490 16 channel 12 bit ADC using the Adafruit FT232H breakout board.

How to install

This code uses the Adafruit_GPIO library to comminicate with the FT232H. Download that here

Make sure you also install the appropriate drivers from FTDI which you can find the links to on Adafruit's website here

How to use

import the code with import AD7490, then create the object with obj = AD7490.adc()

To read the value of an indivudial channel, use obj.readChannel(n)

to read the value of multiple channels, use obj.read(n) to read from channel 0 to n, or obj.readAll() to read all 16 channels

if you are having problems then just grab the one from my GloveProject, it is an older one with less features but I am more confident that it works