Raspberry Pi, Sensors, Hardware, DIY, Python.
AnalogIn(mcp, MCP.P2) while True: print('light: %d, %.3fV\t\tlmt87: %d, %.3fC\t\tlmt86: %d, %.3fC' % ( chan0.value, chan0.voltage, chan1.value, lmt87_v2t(chan1.voltage * 1000), chan2.value, lmt86_v2t(chan2.voltage * 1000), )) time.sleep(1) Install the dependencies: pip install adafruit-blinka