Go Down

Topic: Arduino freezes after running a while. (Read 156 times) previous topic - next topic

Stevanx

Hello. I am having some trouble with my code.
It is a system used to test start up current through eg. a start relay.

Code works fine - no problem the first couple of hours, then it hangs.

First i had written it with sprintf, but saw another post talking against it as it might be memory leak that makes it hang.

Now I have also added a watchdog timer, but it doesn't save it, still hangs up after some hours and doesn't start over again.

Have attached code.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy