Crash issue when using WDT with TV Out library

Hi there,

i am trying to finish my project which uses i2c sensors with arduino uno and displaying their values to screen using TV_out library.

There is probably a bug in my code (loop code stucks after some time) but i ve tried to overcome this problem using watchdog timer.

But when WDT triggered, arduino does not resets properly and screen flickers.

What may be wrong in my code ? Please help.

atmega_16_1_calisan4.ino (32.3 KB)

This is screen video after WDT trigger.

Caution ! Flash Warning !
ard_crash