From f59acdc465ac2edf5b31c99a66e12c735aec3d25 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Tue, 1 Nov 2016 20:39:48 -0600 Subject: [PATCH] changes pinout for testing setup --- Hohm_Phone.ino | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Hohm_Phone.ino b/Hohm_Phone.ino index fcd2996..e673e8b 100644 --- a/Hohm_Phone.ino +++ b/Hohm_Phone.ino @@ -8,14 +8,14 @@ // Arduino will wake from sleep when WAKE_PIN is pulled low #define WAKE_PIN 2 -#define BUT_ANS 7 -#define BUT_END 8 +#define BUT_ANS 12 +#define BUT_END 12 // RX/TX are in reference to the Arduino, not SIM800 #define GSM_RX 3 -#define GSM_TX 4 -#define GSM_RST 5 -#define GSM_RING 6 +#define GSM_TX A7 +#define GSM_RST 12 +#define GSM_RING A6 // TIMEOUT_SLEEP is the time to stay awake from last activity until sleep (milliseconds) #define TIMEOUT_SLEEP 60000 @@ -24,8 +24,8 @@ #define usb_testing_config // Keypad pinout -byte rowPins[4] = {9, 10, 11, 12}; -byte colPins[3] = {A0, A1, A2}; +byte rowPins[ROWS] = {9, 4, 5, 7}; +byte colPins[COLS] = {8, 10, 6}; //////////////////////////////////// ////////// END PARAMETERS //////////