problem with i2c.readfrom_mem_into

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
uraich
Posts: 56
Joined: Tue Mar 26, 2019 12:24 pm

problem with i2c.readfrom_mem_into

Post by uraich » Tue Mar 26, 2019 12:41 pm

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

uraich
Posts: 56
Joined: Tue Mar 26, 2019 12:24 pm

Re: problem with i2c.readfrom_mem_into

Post by uraich » Thu Mar 28, 2019 2:02 pm

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

Post Reply