Search found 1 match

by Iznogud
Mon Jun 10, 2024 12:30 pm
Forum: ESP32 Arduino
Topic: I2C - wrong order of values received
Replies: 0
Views: 676

I2C - wrong order of values received

Hi
I have a problem with solving this. I use two ESP32 modules that are communicating with I2C protocol. Master got values from slave module in wrong order. Why is this happening?

This is master code:
#include <Wire.h>

#define SLAVE_ADDRESS 0x08 // I2C address of the slave

void setup() {
Serial ...

Go to advanced search