Improve measurement output
This commit is contained in:
parent
48cfdea11d
commit
db2d8f6931
@ -107,9 +107,9 @@ class Terminal {
|
||||
char floatBuffer[16];
|
||||
|
||||
sprintf(floatBuffer, "%.2f", Controller::m_adcSample);
|
||||
m_serial << F("Read ADC ....: ") << floatBuffer << ENDL;
|
||||
m_serial << F("ADC value ...: ") << floatBuffer << F("/1023") << ENDL;
|
||||
sprintf(floatBuffer, "%.2f", Controller::m_resistance);
|
||||
m_serial << F("Resistance ..: ") << floatBuffer << ENDL;
|
||||
m_serial << F("Resistance ..: ") << floatBuffer << F(" Ohm") << ENDL;
|
||||
sprintf(floatBuffer, "%.2f", Controller::m_temperature);
|
||||
m_serial << F("Temperature .: ") << floatBuffer << F(" C") << ENDL;
|
||||
m_serial << F("Fan speed ...: ") << Controller::m_fanSpeed << F("%") << ENDL;
|
||||
|
Loading…
Reference in New Issue
Block a user