From 8b4c5c1d87ae6e2ef81ab0c4211c45f1855ef70d Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 3 Apr 2018 11:27:34 +0200 Subject: [PATCH] Added values for Microchip 24AA02E64 unique DEVEUI Address --- src/hal/lolin32_lora.h | 4 ++++ src/hal/lolin32lite_lora.h | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/hal/lolin32_lora.h b/src/hal/lolin32_lora.h index c6c44337..797c18a4 100644 --- a/src/hal/lolin32_lora.h +++ b/src/hal/lolin32_lora.h @@ -31,3 +31,7 @@ #define OLED_RST U8X8_PIN_NONE // Not reset pin #define OLED_SDA 21 // ESP32 GPIO21 (Pin21) -- OLED SDA #define OLED_SCL 22 // ESP32 GPIO22 (Pin22) -- OLED SCL + +// I2C config for Microchip 24AA02E64 DEVEUI unique address +#define MCP_24AA02E64_I2C_ADDRESS 0x50 // I2C address for the 24AA02E64 +#define MCP_24AA02E64_MAC_ADDRESS 0xF8 // Memory adress of unique deveui 64 bits diff --git a/src/hal/lolin32lite_lora.h b/src/hal/lolin32lite_lora.h index c9ce785b..d631ccc0 100644 --- a/src/hal/lolin32lite_lora.h +++ b/src/hal/lolin32lite_lora.h @@ -30,3 +30,7 @@ #define OLED_RST U8X8_PIN_NONE // Not reset pin #define OLED_SDA 14 // ESP32 GPIO14 (Pin14) -- OLED SDA #define OLED_SCL 12 // ESP32 GPIO12 (Pin12) -- OLED SCL + +// I2C config for Microchip 24AA02E64 DEVEUI unique address +#define MCP_24AA02E64_I2C_ADDRESS 0x50 // I2C address for the 24AA02E64 +#define MCP_24AA02E64_MAC_ADDRESS 0xF8 // Memory adress of unique deveui 64 bits