sprintf lines with floating point (ex : sprintf(eamessage, "Accel: [%f,%f,%f]") don't always print , I often have blank instead of numbers. Sometime they work depending what option I select in the program.
I am using a nrf52DK board.
I have switch to: Serial.print(String(event.data.quaternion.quat[0],4));
to get formatted numbers values printed
sprintf lines with floating point (ex : sprintf(eamessage, "Accel: [%f,%f,%f]") don't always print , I often have blank instead of numbers. Sometime they work depending what option I select in the program. I am using a nrf52DK board.
I have switch to: Serial.print(String(event.data.quaternion.quat[0],4)); to get formatted numbers values printed