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
Bu işleme şunda yer alıyor:
Kevin Le
2025-12-12 19:01:15 +07:00
ebeveyn 9bba417ebc
işleme 4504ad4daf
24 değiştirilmiş dosya ile 86 ekleme ve 19 silme
+2 -1
Dosyayı Görüntüle
@@ -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;