Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/c/h/chillmon-HEAD/temperature_example.py   chillmon(Download)
import time
import mcp3008
 
a2d = mcp3008.MCP3008(3300.0)
temperature = mcp3008.TMP36(mcp3008.TMP36.C)

src/a/i/AirPi-HEAD/sensors/analogue.py   AirPi(Download)
import mcp3008
import sensor
class Analogue(sensor.Sensor):
	requiredData = ["adcPin","measurement","sensorName"]
	optionalData = ["pullUpResistance","pullDownResistance"]

src/p/i/Pi-HEAD/distance-screen.py   Pi(Download)
import urllib2
import json
import mcp3008
 
CLEAR = chr(12)