1. When I compile a C source code what is the default setting of the WDT? (Is it on/off by default?)
2. Can you suggest some C code to disable the WDT?
WTD is off by default unless you program the WD fuse or you initialise it in code.
Can you suggest some C code to disable the WDT?
with winAvr. :wink:
and by the way reading the libc doc will help you.
Ampertronics Pty. Ltd.
* Electronic Design * Custom Products * Contract Assembly
Where can I find libc doc?
In the winAvr folder under \doc\avr-libc.
©2015 Atmel Corporation