import holtekco2
import time

device = holtekco2.CO2Device()

for i in range(0, 100):
    try:
        print device.read_data()
    except Exception as e:
        pass
        #print e, e.data

    time.sleep(0.1)

0b03e6ef28063a04524e8aea67a0ac27dc8b0e2f
import holtekco2
import time

device = holtekco2.CO2Device()

for i in range(0, 100):
    try:
        print device.read_data()
    except Exception as e:
        pass
        #print e, e.data

    time.sleep(0.1)
