I am having difficulty using the watchdog timer (WDT) function. Not specifically with the WDT, I understand how the hardware works, how to use it, and all that. The trouble I am having is understanding the relatively huge AVR library of which wdt.h (and I cannot find wdt.cpp) are a tiny fraction of....
I have read everything I can find (to avoid embarrassing myself with a dopey post and wasting your time).
I have imported multiple libraries into the Libraries Directory and successfully used them, including DX1307RTC, Onewire, etc. They all work great, no issues.
In each of the library directories I have added, I have the requisite .cpp source and .h header file, as well as the examples directory.
I don't understand how to so the same using the huge avr-libc-1.8.0 that I downloaded.
First, there is a ton of stuff in there...and second, I am not sure what the heck I need since the pile of stuff is so huge.
Did I grab the wrong stuff?
I am sure I am missing something - but I need some basic tutorial on how to sort through all this and pick the right stuff....
I have read the Reference material - and I see how to add libraries, as I have stated I do this routinely. But when I go get Onewire or DS1307 or whatever I pick up a relatively small structure that contains the bits that make sense. Doing this with AVR is 18 megabytes of "bits"...
Can anyone help me? I would appreciate it of you have the time.
Thank you,
Mike