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

Does it work with ESP8266(NODEMCU V3)? #92

Closed
Senior97 opened this issue May 12, 2022 · 5 comments
Closed

Does it work with ESP8266(NODEMCU V3)? #92

Senior97 opened this issue May 12, 2022 · 5 comments

Comments

@Senior97
Copy link

Senior97 commented May 12, 2022

I tried examples code named uart_rx_data and uart_tx_data with NodeMCU v3 to NodeMCU v3 but it didnt work. Does it work with NodeMCU ?

Library version : 3.1.2

Regards

@wassx
Copy link

wassx commented Nov 14, 2022

I currently try to make it run on a NodeMCU 8266 12F but I run into the issue that Wire.h is not found. (

#include "Wire.h"
)
@PowerBroker2 any ideas or hints please, what do I need to install here, please?

@PowerBroker2
Copy link
Owner

If the MCU you're using doesn't have the wire library in it's core, you should probably poke around the forums (either Arduino or Espressif). If it continues to be an issue, you could probably comment out all of the files/includes that are associated with Wire.h

@wassx
Copy link

wassx commented Nov 14, 2022

Ok, I assume the answer is in here: https://www.arduino.cc/reference/en/language/functions/communication/wire/
NodeMCU is not supported with the Wire.h library

@wassx
Copy link

wassx commented Nov 14, 2022

@PowerBroker2 ok thanks for the quick reply, I will use UART for comms and comment the I2C out then.

@PowerBroker2
Copy link
Owner

No prob. I like having I2C and SPI capabilities built into this library, but it's annoying when several board core libraries have inconsistent I2C/SPI APIs causing unnecessary problems with this lib. I probably should at some point put in preprocessor directives to automatically exclude the I2C portion of the lib if compiling for NodeMCU, but I'm busy atm

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

3 participants