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.
Communication of I2C between environment ESP32-WROOM-32 and ESP32-WROOM-32D
-
- Posts: 29
- Joined: Sun Aug 09, 2020 2:27 am
Who is online
Users browsing this forum: Bing [Bot] and 77 guests