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: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131