We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I´m tring to make an time counter with a trigger to start and pause, i came witih this code but the counter maintain even if the x < 50
void horimetro(){ if (x>= 50){ min1 = rtc.getMinute(); Serial.println(min1); sprintf(charhour,"%ld", min1); client.publish(topic2, charhour); }else { sprintf(charhour,"%ld", min1); client.publish(topic2, charhour); } }
The text was updated successfully, but these errors were encountered:
Can you share more context, what are you trying to achieve? Do you want to publish at intervals?
Sorry, something went wrong.
No branches or pull requests
I´m tring to make an time counter with a trigger to start and pause, i came witih this code but the counter maintain even if the x < 50
The text was updated successfully, but these errors were encountered: