0

OSError 5 from mcp9808
Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers

Please be positive and constructive with your questions and comments.

OSError 5 from mcp9808

by sakurasanta86 on Sun Apr 15, 2018 11:44 am

OSError 5 from mcp9808

by oolookai on Fri Jan 12, 2018 9:17 pm
Odd thing about this is that the whole project works perfectly for 90 minutes or so then dies.
On reset it works again until it doesn't.

After hundreds of iterations my code line:
t = (mpc.temperature * 1.8) +32

prompts the response:
Traceback (most recent call last):
File "code.py", line 58 in <module>
File "adafruit_mcp.py", line 98 in temperature
File "adafruit_mcp.py", line 97 in temperature
File "adafruit_bus_device/i2c_device.py", line 94 in write
OSError 5

This project is executed on a new CircuitPlayground Express with
fresh squeezed bundles for CircuitPython and Libraries.

The whole project is quite simple. If there were a wiring or code
problem I suppose it would not work at all, not die after more than an hour.

If anybody has half a clue that's more then me.

sakurasanta86
 
Posts: 2
Joined: Sun Apr 15, 2018 11:42 am

Please be positive and constructive with your questions and comments.