Giter Site home page Giter Site logo

esp8266_htu21d's People

Contributors

metalphreak avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

esp8266_htu21d's Issues

Nothing but errors reading sensor

I'm not having any luck getting this to work. I'm using it with a Wemos D1, which incorporates an ESP-12.

I've tried it virtually unmodified (I did include some uart support to change the baud rate to 115200), using GPIO2 and 0 for SDA and SCK, and the NONOS SDK 2.1. I consistent get "Error" for every read attempt.

I've also tried GPIO4 and 5, which seems to be the default for the ESP-12. The Adafruit drive under Arduino build env works fine on 4 and 5, by the way, so I'm confident in the hookup configuration.

I know it's been a while since you contributed this, but I'm hoping you might have some thoughts on what's going on.

This is how I configured for GPIO 4 and 5 (in i2c.h):

#define I2C_SDA_MUX PERIPHS_IO_MUX_GPIO4_U
#define I2C_SDA_FUNC FUNC_GPIO4
#define I2C_SDA_PIN 4

#define I2C_SCK_MUX PERIPHS_IO_MUX_GPIO5_U
#define I2C_SCK_FUNC FUNC_GPIO5
#define I2C_SCK_PIN 5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.