adafruit / adafruit/Adafruit_CircuitPython_MS8607

Not working on small int boards

Open
#3 3 comments 0 reactions 1 assignee Claimed by @siddacious View on GitHub
Dominant language
Python
Stars
0
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Trinket M0 for example:
```python
Adafruit CircuitPython 5.3.1 on 2020-07-13; Adafruit Trinket M0 with samd21e18
>>> import board
>>> from adafruit_ms8607 import MS8607
>>> sensor = MS8607(board.I2C())
>>> sensor.pressure
Traceback (most recent call last):
File "", line 1, in
File "adafruit_ms8607.py", line 313, in pressure
File "adafruit_ms8607.py", line 190, in pressure_and_temperature
File "adafruit_ms8607.py", line 199, in _scale_temp_pressure
OverflowError: small int overflow
>>>
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.