moved configs to config

This commit is contained in:
Timm Bogner 2023-01-25 11:09:16 -06:00
parent 1a50dc9b6a
commit 81dc539550
2 changed files with 5 additions and 5 deletions

View File

@ -48,6 +48,11 @@
#define SD_FILENAME "fdrs_log.csv"
#define FS_FILENAME "fdrs_log.csv"
///#define USE_OLED
#define OLED_HEADER "FDRS"
#define OLED_SDA 4
#define OLED_SCL 15
#define OLED_RST 16
// SPI Configuration -- Needed only on boards with multiple SPI interfaces like the ESP32
#define SPI_SCK 5

View File

@ -334,11 +334,6 @@ static uint16_t crc16_update(uint16_t crc, uint8_t a)
#include <fdrs_lora.h>
#include <fdrs_espnow.h>
#define USE_OLED
#define OLED_HEADER "FDRS"
#define OLED_SDA 4
#define OLED_SCL 15
#define OLED_RST 16
String debug_buffer[5] = {"", "", "", "", ""};
SSD1306Wire display(0x3c, OLED_SDA, OLED_SCL); // ADDRESS, SDA, SCL