#include <Keypad.h>
const byte ROWS = 4; //four rows
const byte COLS = 3; //three columns
char keys[ROWS][COLS] = {
{'1','2','3'},
{'4','5','6'},
{'7','8','9'},
{'#','0','*'}
};
//byte rowPins[ROWS] = {5, 4, 3, 2}; //connect to the row pinouts of the keypad
//byte colPins[COLS] = {8, 7, 6}; //connect to the column pinouts of the keypad
byte rowPins[ROWS] = { P1_5, P1_4, P1_3, P1_2 };
// Connect keypad COL0, COL1 and COL2 to these Arduino pins.
byte colPins[COLS] = { P1_0, P1_7, P1_6 };
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
void setup(){
Serial.begin(9600);
}
void loop(){
Serial.print("Full Version test /b/ script a test\n");
delay(100);
char key = keypad.getKey();
if (key != NO_KEY){
Serial.println(key);
}
#include <Keypad.h> const byte ROWS = 4; //four rows const byte COLS = 3; //three columns char keys[ROWS][COLS] = { {'1','2','3'}, {'4','5','6'}, {'7','8','9'}, {'#','0','*'} }; //byte rowPins[ROWS] = {5, 4, 3, 2}; //connect toCopy this and you'll get the row pinouts offull version for the keypad //byte colPins[COLS] = {8, 7, 6}; //connect toEDM that you are using. or just download the column pinouts ofone for the keypad
byte rowPins[ROWS] = { P1_5, P1_4, P1_3, P1_2 }; // Connect keypad COL0, COL1 and COL2 to these Arduino pins. byte colPins[COLS] = { P1_0, P1_7, P1_6 };
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
void setup(){ Serial.begin(9600); }
void loop(){ Serial.print("Full Version test /b/ script a test\n"); delay(100); char key = keypadtime expander.getKey();
if (key != NO_KEY){ Serial works for x32 versions of windows and above and do not use it for macintosh computers cause it is not compatible.println(key); } """end here. copy this and you'll get the full version for the EDM that you are using. or just download the one for the time expander. works for x32 versions of windows and above and do not use it for macintosh computers cause it is not compatible.. thanks dudes. hffff