WatchDog AVR ATMEGA324PB

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
Aspi
Posts: 3
Joined: 05 Sep 2015 16:34

WatchDog AVR ATMEGA324PB

#1 Post by Aspi » 24 Jan 2021 21:31

Good evening,
How is the watchdog register handled and reset under Basic for AVR. I'm a beginner and I'm desperate ...
For PIC it was no problem with the command CLRWDT. Can someone help me ? Greatings Aspi

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: WatchDog AVR ATMEGA324PB

#2 Post by filip » 26 Jan 2021 13:45

Hi,

You will need to change the WDTCSR register to do this, please have a look at the 13.8 Watchdog Timer chapter in the MCU's manual :
http://ww1.microchip.com/downloads/en/D ... 01908A.pdf

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for AVR General”