Page 1 of 1

problem with i2c.readfrom_mem_into

Posted: Tue Mar 26, 2019 12:41 pm
by uraich
Hi,
I am trying to run the BMP180 or BMP280 on an ESP8266 board. Unfortunately the drivers do not seem to work. The problem is that I get an ENODEV error when calling i2c.readfrom_mem(0x77,0xD0,2)
I am running the latest ESP8266 port from github:
MicroPython v1.10-239-g781947afd on 2019-03-26; ESP module with ESP8266
Uli

Re: problem with i2c.readfrom_mem_into

Posted: Thu Mar 28, 2019 2:02 pm
by uraich
Hi,
I finally figured out what the problem with the BMP180 driver was. It was a stupid error on my side (SCL and SDA pins switched in the declaration). Everything is fine now.
Sorry for an unnecessary post
Uli