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

Multi-master won't compile on modern Arduino IDE #3

Closed
TaylorHokanson opened this issue May 16, 2018 · 6 comments
Closed

Multi-master won't compile on modern Arduino IDE #3

TaylorHokanson opened this issue May 16, 2018 · 6 comments

Comments

@TaylorHokanson
Copy link
Owner

TaylorHokanson commented May 16, 2018

Bookmarking for later, maybe this guy's solution from 2013?

https://michael.bouvy.net/blog/en/2013/05/25/arduino-multi-master-to-master-i2c/

Hmm, with one small adjustment I can get it to compile in modern Arduino for the UNO, but not for the ESP. Error reads:

Wire.onReceive(receiveI2C);
^
exit status 1
'class TwoWire' has no member named 'onReceive'

@TaylorHokanson
Copy link
Owner Author

Another possibility: define two i2c busses and use each for uni-directional communication.

espressif/arduino-esp32#977

@TaylorHokanson
Copy link
Owner Author

@TaylorHokanson
Copy link
Owner Author

Yet this seems to suggest both master and slave are possible on ESP32

@TaylorHokanson
Copy link
Owner Author

@TaylorHokanson
Copy link
Owner Author

i2c slave for 8266

@TaylorHokanson
Copy link
Owner Author

Was never resolved, closing for now, working with ESPNow instead.

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

1 participant