Skip to content

First temperature reading always incorrect #17

@roycepope

Description

@roycepope

It appears that the first value in each example is always incorrect. Why is that?

root@zero:/home/pi/enviroplus-python/examples# ./temperature.py
21.6270364913
30.9992406745
30.9919257087
30.9839746596
30.9776138208
30.9737973178
30.9702988568
30.9661643122
root@zero:/home/pi/enviroplus-python/examples# ./gas.py
gas.py - Print readings from the MICS6814 Gas sensor.

Oxidising: 72333.33 Ohms
Reducing: 21289.84 Ohms
NH3: 10811.28 Ohms

Oxidising: 617.65 Ohms
Reducing: 37759.51 Ohms
NH3: 461.96 Ohms

Oxidising: 565.66 Ohms
Reducing: 85284.40 Ohms
NH3: 721.92 Ohms

Oxidising: 513.76 Ohms
Reducing: 113696.97 Ohms
NH3: 1037.04 Ohms

Oxidising: 513.76 Ohms
Reducing: 135304.35 Ohms
NH3: 1409.13 Ohms

Oxidising: 565.66 Ohms
Reducing: 152108.11 Ohms
NH3: 1731.96 Ohms```

```console
root@zero:/home/pi/enviroplus-python/examples# ./light.py
light.py - Print readings from the LTR559 Light & Proximity sensor.

Light: 00.00 Lux
Proximity: 00.00

Light: 07.97 Lux
Proximity: 00.00

Light: 07.97 Lux
Proximity: 00.00

Light: 07.97 Lux
Proximity: 00.00```

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions