.
MCP342X(n).zip (2.27 KB)
.
MCP342X(n).zip (2.27 KB)
int h = Wire.read();
int l = Wire.read();
int r = Wire.read();
You are reading bytes and storing them in ints. Why?
You are then throwing r away. Why?
What values ARE in h. l. and r?