SOLVED: Getting Error:- 'INPUT_PULLUP' was not declared in this scope

Hi tack,

tack:
This is an error being received with a library, so it's not code in my sketch. I guess I could go and modify all the INPUT_PULLUP uses in the library to PinMode(pin, INPUT) and digitalWrite(pin, HIGH) but I was hoping there was a more elegant solution, such as updating the mighty1284P core files so I don't have to change the library every time an update is released.

If you don't mind running a quick test for me...

Change line 46 in keypad.h from:

#if defined(ARDUINO) && ARDUINO < 101

to:

#if !defined INPUT_PULLUP

And see if it works for you. If so then I will update the library so you won't have to mess around with it.

-Mark Stanley