Open Dogm opened 8 years ago
I never had any issues like that before, must be the new update. Thank you for pointing that out.
Sent from my iPhone
On Apr 2, 2016, at 8:25 AM, Meleshko Vasily notifications@github.com wrote:
Hi, i rewrite some example code
`
define Rows 4
define Cols 3
define Pin A0
define Row_Res 4700
define Col_Res 1000
char KEYS[] = { '1','2','3', '4','5','6', '7','8','9', '*','0','#' };
OnewireKeypad keypad = OnewireKeypad(Serial, KEYS, Rows, Cols, Pin, Row_Res, Col_Res );
void setup() { Serial.begin(9600); keypad.addEventKey(test, '#'); // Add Function to list | Key to look for } void loop() { keypad.ListenforEventKey(); // check if an EventKey is found } void test() { Serial.println("This is a # test"); } `
— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub
Hi, i rewrite some example code
`
define Rows 4
define Cols 3
define Pin A0
define Row_Res 4700
define Col_Res 1000
char KEYS[] = { '1','2','3', '4','5','6', '7','8','9', '*','0','#' };
OnewireKeypad<Print, 12> keypad = OnewireKeypad<Print, 12>(Serial, KEYS, Rows, Cols, Pin, Row_Res, Col_Res );
void setup() { Serial.begin(9600); keypad.addEventKey(test, '#'); // Add Function to list | Key to look for } void loop() { keypad.ListenforEventKey(); // check if an EventKey is found } void test() { Serial.println("This is a # test"); } `