Added default temperature from ESP32 MCU and NRF52 MCU

Added NRF52Board.h and NRF52Board.cpp
Modified NRF52 variants to extend from NRF52Board to share common feature
This commit is contained in:
Kevin Le
2025-12-12 19:01:15 +07:00
förälder 9bba417ebc
incheckning 4504ad4daf
24 ändrade filer med 86 tillägg och 19 borttagningar
+2 -1
Visa fil
@@ -2,13 +2,14 @@
#include <Arduino.h>
#include <MeshCore.h>
#include <helpers/NRF52Board.h>
// built-ins
#define PIN_VBAT_READ 29
#define PIN_BAT_CTL 34
#define MV_LSB (3000.0F / 4096.0F) // 12-bit ADC with 3.0V input range
class HeltecMeshPocket : public mesh::MainBoard {
class HeltecMeshPocket : public NRF52Board {
protected:
uint8_t startup_reason;