Improve printing further
This commit is contained in:
parent
db2d8f6931
commit
45eafd9fc3
@ -107,7 +107,7 @@ class Terminal {
|
|||||||
char floatBuffer[16];
|
char floatBuffer[16];
|
||||||
|
|
||||||
sprintf(floatBuffer, "%.2f", Controller::m_adcSample);
|
sprintf(floatBuffer, "%.2f", Controller::m_adcSample);
|
||||||
m_serial << F("ADC value ...: ") << floatBuffer << F("/1023") << ENDL;
|
m_serial << F("ADC value ...: ") << floatBuffer << F(" / 1023") << ENDL;
|
||||||
sprintf(floatBuffer, "%.2f", Controller::m_resistance);
|
sprintf(floatBuffer, "%.2f", Controller::m_resistance);
|
||||||
m_serial << F("Resistance ..: ") << floatBuffer << F(" Ohm") << ENDL;
|
m_serial << F("Resistance ..: ") << floatBuffer << F(" Ohm") << ENDL;
|
||||||
sprintf(floatBuffer, "%.2f", Controller::m_temperature);
|
sprintf(floatBuffer, "%.2f", Controller::m_temperature);
|
||||||
|
Loading…
Reference in New Issue
Block a user