Search found 1 match
- Fri Jan 10, 2020 3:12 pm
- Forum: ESP8266 boards
- Topic: I2C changes to get the HTU21D working.
- Replies: 9
- Views: 7818
Re: I2C changes to get the HTU21D working.
Any hints? I found this post as I was trying to get the htu21d working on my board. I now have a working recipe on a d1 mini. The code in main is: scl = machine.Pin(5, machine.Pin.OPEN_DRAIN, machine.Pin.PULL_UP) sda = machine.Pin(4, machine.Pin.OPEN_DRAIN, machine.Pin.PULL_UP) htu = htu21d.HTU21D(...