• Date JoinedNov 23, 2013
  • Total Views88,941
  • Featured %20%


GoleS1 year ago
GoleS1 year ago

i have wired up as you have done,by the way the LCD i have used is called gtc-16026 and i have entered this : char keys[ROWS][COLS] = {






// Connect keypad ROW0, ROW1, ROW2 and ROW3 to these
Arduino pins.

byte rowPins[ROWS] = { 1, 12, 16, 15 };

// Connect keypad COL0, COL1, COL2, and COL3 to these
Arduino pins.

byte colPins[COLS] = { 17, 18, 19, 14 };

// Create the Keypad

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


LiquidCrystal lcd(2, 3, 13, 8, 9, 10, 11, 4, 5, 6, 7);

but you have said that if i use another LCD than the one you have used I should change the coding, could you please help me with what i should change? i am kind of confused

Kale_3d (author)  GoleS1 year ago
The line "LiquidCrystal lcd(2, 3, 13, 8, 9, 10, 11, 4, 5, 6, 7);" is the only thing you have to change by using a different LCD module there are also some other things in the code that should be changed later if you want to user all of the available squares like scrolling variables but that is a later problem. Adafruit has a guide that is relevant to your specific LCD and explains in depth how to wire and program it. I have linked the specific step with documentation on configuring the line of code you were having trouble with below. https://learn.adafruit.com/character-lcds/using-a-character-lcd
GoleS Kale_3d1 year ago

i tried it but it didn't work, is it possible for you to chat with at gmail? so i can tell you what i have done until now

GoleS1 year ago

hi i was wondering if it is possible to use this keypad instead of that one you have used in making arduino calculator? here is the link of the keypad http://no.farnell.com/eao/eco-16250-06/keypad-4x4-...

could i still use the same coding as you have used or do i need to change something?


Kale_3d (author)  GoleS1 year ago
I don't see any reason why that keypad wouldn't work. At first glace it looks like the pinout is the same so you shouldn't have any problems.
GoleS Kale_3d1 year ago

thanx, could i ask you any questions later if i faced any problems? i really appreciate your help. it means a lot for me. you are best. :) wish me good lock