4 from enviroplus
import gas
8 format
='%(asctime)s.%(msecs)03d %(levelname)-8s %(message)s',
10 datefmt
='%Y-%m-%d %H:%M:%S')
12 logging
.info("""adc.py - Print readings from the MICS6814 Gas sensor.
19 gas
.set_adc_gain(4.096)
23 readings
= gas
.read_all()
24 logging
.info(readings
)
26 except KeyboardInterrupt: