mirror of
https://github.com/brendanhaines/Hohm-Phone.git
synced 2024-12-25 18:37:45 -07:00
removes pin assignment of unused GSM_KEY pin
This commit is contained in:
parent
6c35e0f594
commit
815f392e9e
|
@ -17,7 +17,6 @@
|
|||
#define GSM_TX 11
|
||||
#define GSM_RST A2
|
||||
#define GSM_RING A5
|
||||
#define GSM_KEY A6
|
||||
|
||||
// TIMEOUT_SLEEP is the time to stay awake from last activity until sleep (milliseconds)
|
||||
#define TIMEOUT_SLEEP 6000
|
||||
|
@ -148,10 +147,8 @@ void setup() {
|
|||
pinMode( BUT_END, INPUT_PULLUP );
|
||||
pinMode( GSM_RST, OUTPUT );
|
||||
pinMode( GSM_RING, INPUT_PULLUP );
|
||||
pinMode( GSM_KEY, OUTPUT );
|
||||
pinMode( CHG_PIN, OUTPUT );
|
||||
|
||||
digitalWrite( GSM_KEY, LOW );
|
||||
digitalWrite( GSM_RST, HIGH );
|
||||
digitalWrite( CHG_PIN, HIGH );
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user