Comments (1)
I don't think I2C is the right protocol for your application. I2C devices are not meant to switch roles dynamically. It is possible to have two I2C masters on the same bus (MultiMaster mode), but I don't think it's possible with ESP32. What you're looking for is Serial, or some other bidirectional asynchronous protocol. Use a Software Serial library both on Arduino Uno and on ESP32 to keep using the default Serial ports for PC communication.
from esp32_i2c_slave.
Related Issues (16)
- Not working with ESP32-ArduinoMega I2C Connection HOT 8
- Timing of Master reader HOT 2
- WireSlave.onRequest(requestEvent); never run HOT 4
- ESP32 Wroom 32 as a slave HOT 7
- "Max attempts" error after a few minutes - Master reader / slave sender HOT 2
- Send large amount of data? HOT 2
- Thread-safe implementation on callback. HOT 1
- Guide to transition to the native I2C? HOT 3
- How to set I2C frequency? HOT 1
- Not working on ESP32 board MH-ET LIVE MINIKIT HOT 2
- Work on python master class HOT 7
- Frequancy State HOT 1
- Memory access violation on high data rates
- slave esp32 not receiving anything in i2c Arduino wire library example HOT 3
- Error trying to send transmit string of 16 characters HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32_i2c_slave.