Resolved! how to store signed hexadecimal data from a sensor and identify if the hex is negative or positive?
I have a sensor that can communicate via UART, I send a command and the sensor answers me with a hexadecimal frame.I can have distance, angle, velocity values. I know how to store the frame in a buffer but I don't know how to store it in hexa to kee...