Page 1 of 1

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

Posted: Tue Aug 11, 2020 11:30 pm
by NY20200803
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.