Yes I only posted part of the sketch, I have put it all below.
The extra = was in case I had got that wrong and i was worth a try :-)
I even tried putting the missing t in the cusomkeypad but that didnt help either.
/* @file CustomKeypad.pde
|| @version 1.0
|| @author Alexander Brevig
|| @contact
alexanderbrevig@gmail.com||
|| @description
|| | Demonstrates changing the keypad size and key values.
|| #
*/
#include <Keypad.h>
#include <SPI.h>
int GT = (0);
int GU = (0);
int RT = (0);
int RU = (0);
const byte ROWS = 3; //three rows
const byte COLS = 4; //four columns
//define the symbols on the buttons of the keypads
char hexaKeys[ROWS][COLS] = {
{'L','K','J','I'},
{'H','G','F','E'},
{'D','C','B','A'}
//on Yebo Electronics membrane 1=A 5=E *=I and so on with bottom pin to 5 and top pin to 11
// 22k pull up resistors on the 3 rows, pin 5,6,7
};
int delay ();
byte rowPins[ROWS] = {7, 6, 5};
byte colPins[COLS] = {8, 9, 10, 11}; //connect to the column pinouts of the keypad
//initialize an instance of class NewKeypad
Keypad cusomKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);
void setup(){
Serial.begin(9600);
}
void loop(){
delay (100); // my crude debounce
char customKey = cusomKeypad.getKey();
if (customKey != NO_KEY){
Serial.println(customKey);
Serial.println(GT);
if (customKey ='F' ) { GT++ ;}
if (GT==10) { GT=0;}
Serial.println(GT);
}
}