Question
Magnetometer
Posted on August 08, 2016 at 15:52
Hello folks,
I am trying to implement magnetomter LIS3MDL with STM32F4. After reading the X, Y and Z axis register I am getting negative values as they are 2's complement. How can I transmit them on UART to see negative decimal value on hyperterminal ?