You did not understand:
post your
complete sketch.
From the very first to the very last line.
Your loop has two functions
functionTare();
functionAlarm();
You are asking for help because you yourself are unable to solve the problem.
There is a high chance that the error is somewhere in the code that you don't think of
and this is the reason why you should post your
complete sketch
using this method
Hi newcomer,
This thread wants to show you how you can speed-up getting helpful answers with small effort.
If you manage at least to post this way. You have the sympathy of the experienced users.
If you are willing to invest another 20 minutes these 20 minutes extra-time will save you a minimum of 200 minutes to finish your project.
always
post your full sketch. As a
code-section
from the very first to the very last line
A code-section has a small height => keeps your posting "short" but…
best regards Stefan