diff --git a/config.h b/config.h index 2c6e9bc..35a6ef4 100644 --- a/config.h +++ b/config.h @@ -39,8 +39,8 @@ // OLED Display (I2C 128x64) // --------------------------------------------------------------- #define OLED_ENABLED 1 // 1 = enable OLED display, 0 = disable -#define OLED_SDA_PIN 7 // I2C SDA pin -#define OLED_SCL_PIN 6 // I2C SCL pin +#define OLED_SDA_PIN 6 // I2C SDA pin +#define OLED_SCL_PIN 7 // I2C SCL pin #define OLED_I2C_ADDR 0x3C // I2C address (0x3C or 0x3D, check your module) // --------------------------------------------------------------- @@ -49,11 +49,11 @@ // 1 = print every raw UART frame candidate as hex on the Serial // Monitor (115200). Use this to capture real traffic from the // module so the frame format can be confirmed/reverse-engineered. -#define DEBUG_RADAR_RAW 1 +#define DEBUG_RADAR_RAW 0 // 1 = diagnostic mode only: Serial-only target printout, no Wi-Fi, // no web server, no WebSocket. This is the recommended first // stage — get the parser confirmed against real hardware before // bringing up networking. // 0 = full stage-2 firmware: Wi-Fi + REST API + WebSocket + zones. -#define DIAGNOSTIC_MODE 1 +#define DIAGNOSTIC_MODE 0 diff --git a/esp32-s3-ld2453.ino b/esp32-s3-ld2453.ino index c89dca8..91aa217 100644 --- a/esp32-s3-ld2453.ino +++ b/esp32-s3-ld2453.ino @@ -16,6 +16,7 @@ #include "config.h" #include "LD2453Parser.h" #include "ZoneManager.h" +#include "OLEDDisplay.h" #if !DIAGNOSTIC_MODE #include "WebServerManager.h"