Pages: [1]   Go Down
Author Topic: Quick Keypad Update Help  (Read 1209 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 128
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Code:
Keypad kpd = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );

The above line works in arduino-0018, but not in arduino-0021.

In arduino-0021 it says that: 'Keypad' does not name type.

How would I fix that?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 168
Posts: 12425
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Can you show the whole code?
Maybe there is a library missing - http://www.arduino.cc/playground/Main/KeypadTutorial - and - http://www.arduino.cc/playground/Code/Keypad#Download - as it is not installed by default.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Full Member
***
Karma: 0
Posts: 128
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, that was it.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 128
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I had it in the old Arduino version, but not the new one. Thanks
Logged

Pages: [1]   Go Up
Jump to: