fixing some bugs
This commit is contained in:
parent
7abc44f521
commit
faa93833af
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "settings.h"
|
||||
#include "display.h"
|
||||
#include "pins.h"
|
||||
|
||||
#ifdef TTGO_T_Beam_V1_0
|
||||
#include <axp20x.h>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
#include "display.h"
|
||||
#include "settings.h"
|
||||
#include "pins.h"
|
||||
|
||||
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RST);
|
||||
|
||||
|
|
12
src/pins.h
12
src/pins.h
|
@ -9,14 +9,14 @@
|
|||
#define OLED_SCL 22
|
||||
#define OLED_RST 16
|
||||
|
||||
#ifdef(TTGO_T_Beam_V0_7)
|
||||
#define GPS_RX 15
|
||||
#define GPS_TX 12
|
||||
#ifdef TTGO_T_Beam_V0_7
|
||||
#define GPS_RX 15
|
||||
#define GPS_TX 12
|
||||
#endif
|
||||
|
||||
#ifdef(TTGO_T_Beam_V1_0)
|
||||
#define GPS_RX 12
|
||||
#define GPS_TX 34
|
||||
#ifdef TTGO_T_Beam_V1_0
|
||||
#define GPS_RX 12
|
||||
#define GPS_TX 34
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue