示例#1
0
 def read(self):     #reads value from sensor
     value = Adafruit_MCP3008.read_adc(channel)