Python code to use the ADS1015 and ADS1115 analog to digital converters with a Raspberry Pi or BeagleBone black. - Adafruit_Python_ADS1x15/examples/simpletest.py at master · adafruit/Adafruit_Python_ADS1x15
mkdir project-name&&cdproject-name python3 -m venv .venvsource.venv/bin/activate pip3 install adafruit-circuitpython-ads1x15 Usage Example Single Ended importtimeimportboardimportbusioimportadafruit_ads1x15.ads1015asADSfromadafruit_ads1x15.analog_inimportAnalogIn# Create the I2C busi2c=busio.I2C(boa...
Fix python3 pip install ez_setup import issue. Oct 19, 2016 DEPRECATED LIBRARY. Adafruit Python ADS1x15 This library has been deprecated! We are leaving this up for historical and research purposes but archiving the repository. We are now only supporting the use of our CircuitPython libraries ...