Support for Elecrow Thinknode M2

This commit is contained in:
Tomas P 2025-10-19 20:44:27 +02:00
parent 99e44f499e
commit 31b8f7252a
8 changed files with 392 additions and 0 deletions

View file

@ -0,0 +1,18 @@
#pragma once
#include <Arduino.h>
#include <helpers/RefCountedDigitalPin.h>
#include <helpers/ESP32Board.h>
#include <driver/rtc_io.h>
class ThinknodeM2Board : public ESP32Board {
public:
void begin();
void enterDeepSleep(uint32_t secs, int pin_wake_btn = -1);
void powerOff() override;
uint16_t getBattMilliVolts() override;
const char* getManufacturerName() const override ;
};