rabhishek91
New Member
Hi everyone.
Today i learnt about watchdog timer in my college and thought of trying it using ATmega32.
My objective is to set watchdog timer condition at 20 seconds (approx.) and light the LED.
Is it possible ? According to the datasheet(attached below) in the Watchdog Timer Prescaler select maximum time-out is 2.2 seconds.
Is it possible to generate timeout at 20 seconds ?
Can i make use some variable to keep track of its time out and then decide ?
Ex- If the variable equal to 10 (i.e 10 time outs ) then light an LED.
Also WDT oscillation cycles are nothing but WDT operating frequency right ?
I am sorry to post lot of questions.Please help.
Thanks in advance.
Today i learnt about watchdog timer in my college and thought of trying it using ATmega32.
My objective is to set watchdog timer condition at 20 seconds (approx.) and light the LED.
Is it possible ? According to the datasheet(attached below) in the Watchdog Timer Prescaler select maximum time-out is 2.2 seconds.
Is it possible to generate timeout at 20 seconds ?
Can i make use some variable to keep track of its time out and then decide ?
Ex- If the variable equal to 10 (i.e 10 time outs ) then light an LED.
Also WDT oscillation cycles are nothing but WDT operating frequency right ?
I am sorry to post lot of questions.Please help.
Thanks in advance.