Zephyr: Errors encountered with driver code for the HTU21DF
Posted: Thu Jul 29, 2021 3:55 pm
I have written a library for the HTU21DF sensor, however I am facing some issues with the execution.The link to my driver code is :https://github.com/Yadnik1/Tempandhumcl ... umclick.py. The error I get is around as follows:
>> %Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "<stdin>", line 64, in <module>
File "<stdin>", line 56, in humidity
File "<stdin>", line 35, in _issue_measurement
OSError: I2C operation not supported
I feel that that the i2c library is not being called correctly (or similar).I am working on the Zephyr port of MicroPython.(Reference for it:https://github.com/micropython/micropyt ... /README.md)
It would be very grateful if someone can please guide me with it.Thank you very much!!
>> %Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "<stdin>", line 64, in <module>
File "<stdin>", line 56, in humidity
File "<stdin>", line 35, in _issue_measurement
OSError: I2C operation not supported
I feel that that the i2c library is not being called correctly (or similar).I am working on the Zephyr port of MicroPython.(Reference for it:https://github.com/micropython/micropyt ... /README.md)
It would be very grateful if someone can please guide me with it.Thank you very much!!