We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2020/08/06 09:23:42 PM CEST
I have built an egg incubator that have successfully hatched chicks. But lately I have found the micro-controller (PIC 18F45K22) frozen and the incubator overheated destroying more than 200 eggs. This has happened twice and I have made a big loss.
I have configured the pic to run using internal clock at 8MHZ.
I am kindly requesting for watchdog mikroc code that can work as follow:
1. watchdog to monitor micro-controller every 5 seconds (or any set time) to see if it working well,
2.If it is not ok (if micro-controller had hanged) , then watchdog timer should restart the micro-controller
3.If micro-controller is not hanged (it working well) after set time, then the watchdog timer should start monitoring again
Thank you so much.