Communication of I2C between environment ESP32-WROOM-32 and ESP32-WROOM-32D

NY20200803
Posts: 29
Joined: Sun Aug 09, 2020 2:27 am

Communication of I2C between environment ESP32-WROOM-32 and ESP32-WROOM-32D

Postby NY20200803 » Tue Aug 11, 2020 11:30 pm

In the sample program
It was written that Wire.beginTransmission (I2C address); will select the master.
However, looking at the 8-bit waveform,

It is better to enter Wire.requestFrom(I2C address, number of bytes);
I'm a master.
Is this a misunderstanding?



Postscript


Interaction between environment ESP32-WROOM-32 and ESP32-WROOM-32D (SPARK FUN system)

Together
set in begin(23.22);


For volunteers on the web, delete the register number of Wire.write (register number);
I wrote that you will become a master,
If you do that, the waveform will not appear no matter what you do.

Who is online

Users browsing this forum: No registered users and 96 guests