Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hello,
I'm starting a new project but don't have to much experience in C, and my goal is to measure the Volts that are available in the port 20 (DigitalIn). Currently I'm only sending the integer part, but I want to know how I can send the complete measure (e.g. I read 2.55V in MBED1 and I want to send via CAN BUS to receive in the MBED2 the 2.55V).
For this project I'm using the following material:
In MBED1 I'm using the following code:
And in MBED2 I'm using this code to print out the values:
Regards