|
Aquarium Cooling Controller
ESP32 firmware for aquarium cooling fan control, monitoring, telemetry, and fault handling.
|
Shared helpers for rounded operator-facing value formatting. More...
#include <Arduino.h>#include <stdio.h>

Go to the source code of this file.
Functions | |
| void | DisplayFormat::formatTemperatureC (float value, char *buffer, size_t bufferSize) |
| Formats a temperature-like float with one decimal place. | |
| void | DisplayFormat::printTemperatureC (Stream &out, float value) |
| Prints a temperature-like float with one decimal place. | |
Shared helpers for rounded operator-facing value formatting.
|
inline |
Formats a temperature-like float with one decimal place.
Formatting happens only at display boundaries so control logic can keep the full internal floating-point precision.
| value | Temperature or delta value in degrees Celsius. |
| buffer | Destination character buffer. |
| bufferSize | Size of the destination buffer in bytes. |
|
inline |
Prints a temperature-like float with one decimal place.
| out | Destination stream. |
| value | Temperature or delta value in degrees Celsius. |