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

onReceive in Wire.h? #784

Closed
cqin5 opened this issue Oct 27, 2017 · 3 comments
Closed

onReceive in Wire.h? #784

cqin5 opened this issue Oct 27, 2017 · 3 comments

Comments

@cqin5
Copy link

cqin5 commented Oct 27, 2017

Hardware:

Board: ESP32 Dev Module
Core Installation/update date: 27/Oct/2017
IDE name: Arduino IDE
Flash Frequency: 40Mhz
Upload Speed: 115200

Description:

I noticed that in Wire.h there is no method similar to onReceive in the original Wire library, is it missing or is it not there by design?

If it is not there by design, what would be the alternative to it?

Thank you in advance.

@stickbreaker
Copy link
Contributor

Slave mode I2C of the ESP32 is markedly different than on the AVR chips. The AVR Wire.h app callback method may not be possible. It is still being worked on.

Chuck.

@pgrlopes
Copy link

Hello.

I'm having the same issue, is there any workaround for this other than including an alternate i2c library and going for lower level implementation?

@copercini
Copy link
Contributor

Close as duplicate of #118

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

4 participants