From 583f73b98c4c66e35996b95f95fb3e224e2b4280 Mon Sep 17 00:00:00 2001 From: "Justin E. Mann" Date: Thu, 2 Jan 2025 08:01:29 -0700 Subject: [PATCH] . --- src/configuration.h | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/configuration.h b/src/configuration.h index 58ad354e8..7dddcb702 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -149,7 +149,6 @@ along with this program. If not, see . #define MAX30102_ADDR 0x57 #define MLX90614_ADDR_DEF 0x5A #define CGRADSENS_ADDR 0x66 -#define RAK12035VB_ADDR 0x20 // ----------------------------------------------------------------------------- // ACCELEROMETER @@ -172,11 +171,12 @@ along with this program. If not, see . // ----------------------------------------------------------------------------- // Security // ----------------------------------------------------------------------------- +#define ATECC608B_ADDR 0x35 // ----------------------------------------------------------------------------- // IO Expander // ----------------------------------------------------------------------------- -#define TCA9535_ADDR 0x20 +//#define TCA9535_ADDR 0x20 #define TCA9555_ADDR 0x26 // ----------------------------------------------------------------------------- @@ -191,6 +191,18 @@ along with this program. If not, see . // ----------------------------------------------------------------------------- #define FT6336U_ADDR 0x48 +// ----------------------------------------------------------------------------- +// RAK12035VB Soil Monitor (using RAK12023VB up to 3 RAK12035 monitors can be connected) +// - the default i2c address for this sensor is 0x20 which is already in use so I am using the +// Constructor to set the sensor addresses to 0x90, 0x91, 0x92 +// ----------------------------------------------------------------------------- +#define RAK12035VB1_ADDR 0x20 +#define RAK12035VB2_ADDR 0x21 +#define RAK12035VB3_ADDR 0x22 +#define RAK12035VB1_ALT_ADDR 0x90 +#define RAK12035VB2_ALT_ADDR 0x91 +#define RAK12035VB3_ALT_ADDR 0x92 + // ----------------------------------------------------------------------------- // BIAS-T Generator // ----------------------------------------------------------------------------- @@ -362,4 +374,4 @@ along with this program. If not, see . #endif #include "DebugConfiguration.h" -#include "RF95Configuration.h" \ No newline at end of file +#include "RF95Configuration.h"