agners / micropython-scd30

MicroPython I2C driver for SCD30 CO2 sensor module
MIT License
24 stars 15 forks source link

SCD30 on ItsyBitsy M4 with CircuitPython 6 #4

Open HB-Git opened 3 years ago

HB-Git commented 3 years ago

I'd like to connect the SCD30 to a ItsyBitsy M4 using your library. When I try to import the scd30.py as library in the ItsyBitsy M4 it give following error: Traceback (most recent call last): File "main.py", line 6, in File "/lib/scd30.py", line 7 SyntaxError: invalid syntax I am aware, that the library was written for MicroPython, but I hoped it would be excepted in CircuitPython. Any chance of changing it to be compatible to CircuitPython 6?