mirror of
https://github.com/lora-aprs/LoRa_APRS_Tracker.git
synced 2025-12-06 07:12:15 +01:00
fixing some bugs
This commit is contained in:
parent
7abc44f521
commit
faa93833af
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
#include "pins.h"
|
||||||
|
|
||||||
#ifdef TTGO_T_Beam_V1_0
|
#ifdef TTGO_T_Beam_V1_0
|
||||||
#include <axp20x.h>
|
#include <axp20x.h>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
#include "pins.h"
|
||||||
|
|
||||||
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RST);
|
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_SCL 22
|
||||||
#define OLED_RST 16
|
#define OLED_RST 16
|
||||||
|
|
||||||
#ifdef(TTGO_T_Beam_V0_7)
|
#ifdef TTGO_T_Beam_V0_7
|
||||||
#define GPS_RX 15
|
#define GPS_RX 15
|
||||||
#define GPS_TX 12
|
#define GPS_TX 12
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef(TTGO_T_Beam_V1_0)
|
#ifdef TTGO_T_Beam_V1_0
|
||||||
#define GPS_RX 12
|
#define GPS_RX 12
|
||||||
#define GPS_TX 34
|
#define GPS_TX 34
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue