I'm trying to send data in HART protocol. The value should be transmitted in single point precision structure.
My main question is if I have a float variable and I assign it into 4 byte of chars, is it right thing to do? or I should have a function to convert it into binary code and then transmit it?
I'm using codevision and micro is Xmega128A1u.
Thanks for your help