fixing some bugs

This commit is contained in:
Peter Buchegger 2020-11-03 20:11:10 +01:00
parent 7abc44f521
commit faa93833af
3 changed files with 8 additions and 6 deletions

View file

@ -5,6 +5,7 @@
#include "settings.h"
#include "display.h"
#include "pins.h"
#ifdef TTGO_T_Beam_V1_0
#include <axp20x.h>

View file

@ -5,6 +5,7 @@
#include "display.h"
#include "settings.h"
#include "pins.h"
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RST);

View file

@ -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