Skip to content

Conversation

caternuson
Copy link
Contributor

For #7.

Basically just adding exception type that gets thrown for MCP2221 case.

(blinka) hellokitty@bench:~/repos/Adafruit_CircuitPython_SGP40$ python3
Python 3.8.10 (default, Jun  2 2021, 10:49:15) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import board
>>> import adafruit_sgp40
>>> sgp = adafruit_sgp40.SGP40(board.I2C())
>>> sgp.raw
2
>>> sgp.raw
24895
>>> sgp.raw
25563
>>> 

@caternuson
Copy link
Contributor Author

@ladyada
Copy link
Member

ladyada commented Aug 27, 2021

yah its a good idea to change the exception (also)!

@caternuson caternuson merged commit 3187395 into adafruit:main Aug 27, 2021
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants