arduino-CAN icon indicating copy to clipboard operation
arduino-CAN copied to clipboard

How to sent and recieve int?

Open Pippozz opened this issue 5 years ago • 1 comments

Hi, thank you very much for your work. How can I transmit the potentiometer data from a sender ESP32 to receiver one?

Thank you in advance for your help! Filippo

Pippozz avatar Aug 19 '20 13:08 Pippozz

hi, depends on the resolution you need.

if you just want the most basic value 0-255 you can map the analoge value and send a simple message with ID 0x001 and 8 bytes of data and one of them is your Potentiometer value.

Petros144 avatar Aug 26 '20 00:08 Petros144