Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
Set up and start the ADC channel.

src/p/i/pingo-HEAD/experiments/beagle/python/analog_double_read.py   pingo(Download)
import Adafruit_BBIO.ADC as ADC
 
from time import sleep
 
ADC.setup()

src/p/i/pingo-HEAD/experiments/beagle/python/anima.py   pingo(Download)
import Adafruit_BBIO.GPIO as GPIO
import Adafruit_BBIO.ADC as ADC
 
ADC.setup()
 

src/p/i/pingo-HEAD/experiments/beagle/python/analog_read.py   pingo(Download)
import Adafruit_BBIO.ADC as ADC
 
from time import sleep
 
ADC.setup()

src/p/i/pingo-HEAD/experiments/beagle/anima.py   pingo(Download)
import Adafruit_BBIO.GPIO as GPIO
import Adafruit_BBIO.ADC as ADC
 
ADC.setup()
 

src/s/m/smokematic-0.1.0/smokematic/probe.py   smokematic(Download)
        self._last_temp = None
 
        ADC.setup()
 
        # Take a temperature immediately

src/a/d/Adafruit_BBIO-0.0.19/test/test_adc.py   Adafruit_BBIO(Download)
    def test_setup_adc(self):
        ADC.setup()
 
        files = os.listdir('/sys/devices')
        ocp = '/sys/devices/'+[s for s in files if s.startswith('ocp')][0]
    def test_read_adc(self):
        ADC.setup()
        value = -1
        value = ADC.read("P9_40")
 
        assert value != -1
 
    def test_read_raw_adc(self):
        ADC.setup()
    def test_many_read_adc(self):
        import time
 
        ADC.setup()