From 0b02354843633608bd486ae3c8dac07711e2cc04 Mon Sep 17 00:00:00 2001 From: "Colin B." Date: Mon, 21 Apr 2025 12:52:54 -0700 Subject: [PATCH] RAK4631: add PMSA003I_ENABLE_PIN define --- variants/rak4631/variant.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/variants/rak4631/variant.h b/variants/rak4631/variant.h index bc5541336..0da1c04ea 100644 --- a/variants/rak4631/variant.h +++ b/variants/rak4631/variant.h @@ -197,6 +197,12 @@ SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG */ +// configure the SET pin on the RAK12039 sensor board to disable the sensor while not reading +// air quality telemetry. PIN_NFC2 doesn't seem to be used anywhere else in the codebase, but if +// you're having problems with your node behaving weirdly when a RAK12039 board isn't connected, +// try disabling this. +#define PMSA003I_ENABLE_PIN PIN_NFC2 + #define DETECTION_SENSOR_EN 4 #define USE_SX1262