octopusengine / octopuslab

octopusLAB - for devBoard ESP8266/32 - NodeMcu (LoLin) and octopus ESP-interface-board
29 stars 16 forks source link

[Errno 19] ENODEV - micropython: 07-i2c-test.py #6

Closed octopusengine closed 6 years ago

octopusengine commented 6 years ago

i2c test PCF > [Errno 19] ENODEV

petrkr commented 6 years ago

Try use pull-up resistors on i2c lines and slow down communication to 100kHz (default is 400kHz). Regarding to PCF datasheet, it's maximum I2C timings is 100kHz on SCL line

petrkr commented 6 years ago

Check commit 3ab1d23b7a7dcee9f45bc066861d5d0abadfaa97

petrkr commented 6 years ago

Fixed by 4b59c27