Go Down

Topic: I2C connection send binary message more than 256 bytes (Read 1 time) previous topic - next topic


as the topic..
i need to send the degree (0-360) from a slave arduino to the master,
but the 8 byte message only allows max 256,
how can i solve the problem?


THe slave breaks the integer into two bytes.  The master requests two bytes from the slave.  The slave sends the two bytes. The master receives the two bytes and merges them together into an integer.
Send Bitcoin tips to: 1G2qoGwMRXx8az71DVP1E81jShxtbSh5Hp

Go Up