gvalkov / micropython-esp8266-hmc5883l

Micropython driver for the HMC5883l on the ESP8266
13 stars 12 forks source link

i2c.writeto_mem returns OSError: [Errno 19] ENODEV #1

Open laukejas opened 5 years ago

laukejas commented 5 years ago

I am trying out this library with Nodemcu, Micropython 1.10 installed. The Configuration A part, line i2c.writeto_mem(30, 0x00, pack('B', 0b111000)) returns OSError: [Errno 19] ENODEV. I have 10K pull-up resistors on hardware i2c pins (GPIO 5 and GPIO 4). What could wrong here?

fabse-hack commented 6 months ago

same issue here .......