I am not sure that this is the right place to ask but I will try ...
I have a strange behaviour of the watch dog timer (Using Arduino NANO). I am using the watch dog timer to initiate periodic tasks. It works excellent without issues only when the serial is connected (only when I conenct to the device with any serial terminal). When I disconnect the teminal the flow is working as expected but the timining is different.
E.g., if I set the watch dog timer to wake up every 4 sec, I run the tasks every 4 counts, which means every 16 sec. When I disconnect the serial connection, it seems to run every 4sec which is very strange.
I assume it difficult to answer my question but what I would like to know if someone has an idea why watch dog timer is affected by serial conenction.
Thx for the help