Bi-monthly release with minor bug fixes and improvements
if (m_TemperatureCounter++ == SESTO_TEMPERATURE_FREQ)
{
rc = updateTemperature();
if (rc)
{
if (fabs(lastTemperature - TemperatureN[0].value) >= 0.1)
{
IDSetNumber(&TemperatureNP, nullptr);
lastTemperature = TemperatureN[0].value;
}
}
m_TemperatureCounter = 0; // <- Was missing.
}
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.