Programming Atmega32a using GitHub jeelabs library

Hello there,

I'm facing a problem when trying to program an Atmega32A with a simple example from jeelib library (test1)

The following error message appears when trying to compile:

"{...} *error: 'WDP3' was not declared in this scope"

Soo... Does anybody know what the equivalent of WDP3 is in ATmega32A?

Thank you in advance.

It probably has "WDP" in the name.

On the ATmega328P that is used on the Arduino UNO and Nano, "WDP[3:0]" are the four bits of WDTCSR (Watchdog Timer Control Register) that select the WatchDog timer Prescale value.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.