Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP8266 support? #3

Closed
spotlesscoder opened this issue Nov 22, 2017 · 1 comment
Closed

ESP8266 support? #3

spotlesscoder opened this issue Nov 22, 2017 · 1 comment

Comments

@spotlesscoder
Copy link

Does this library work with the ESP8266? In particular, the NodeMCU 1.0 (ESP-12E)

@sparky650
Copy link
Owner

It does support ESP8266 using the Arduino framework either using the default i2c pins or specific pins. This can be used to initialize the chip with other pins: mcp.begin(0x20, SDA_PIN, SCL_PIN); Replace 0x20 with the address of your chip and the pins with your pins, keep in mind that not all of the ESP pins work for i2c and that Arduino uses different pin numbers from what is printed on the NodeMCU boards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants