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

Two way communication #106

Open
fif911 opened this issue Jan 22, 2023 · 3 comments
Open

Two way communication #106

fif911 opened this issue Jan 22, 2023 · 3 comments

Comments

@fif911
Copy link

fif911 commented Jan 22, 2023

I am new to this library. But I have not found a way to achieve two way I2C communication between Master and Slave. Is it possible with the current implementation?

@PowerBroker2
Copy link
Owner

Yes, there are I2C examples in the examples folder

@fif911
Copy link
Author

fif911 commented Jan 28, 2023

I looked through them, but I cannot find a 2-way communication example. I was able to find only Master to Slave but not Slave to Master (can be done with requestFrom in wire lib). Is there a way to do smth like this? @PowerBroker2

@Drikteur
Copy link

Drikteur commented May 4, 2023

Also looking for 2 way communication on uart, tried to merge the sketches (TX and RX)and it works both ways but not at the same time, the arduino which boots latest acts as master... (trying all day but to stupid to make it work :-))

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