Add SIM800L support
Signed-off-by: Martin Kolací <martin.kolaci@lmc.eu>
This commit is contained in:
13
config.h
13
config.h
@@ -5,6 +5,8 @@
|
||||
#define BOARD_TTGO_T4
|
||||
//#define BOARD_M5STACK_CORE
|
||||
|
||||
//#define SIM800L_ENABLED
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -74,6 +76,17 @@
|
||||
|
||||
#endif // BOARD_M5STACK_CORE
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
// SIM800L
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef SIM800L_ENABLED
|
||||
#define SIM800L_RX 16
|
||||
#define SIM800L_TX 17
|
||||
#define SIM800L_RST 5
|
||||
#define SIM800L_TIMER 120
|
||||
#endif //SIM800L_ENABLED
|
||||
|
||||
/////////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in New Issue
Block a user