mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-07-16 01:39:26 +00:00
24 lines
563 B
C++
24 lines
563 B
C++
#pragma once
|
|
|
|
#include <Arduino.h>
|
|
#include <helpers/RefCountedDigitalPin.h>
|
|
#include <helpers/ESP32Board.h>
|
|
#include "variant.h"
|
|
#include "NullDisplayDriver.h"
|
|
#include "MomentaryButton.h"
|
|
|
|
class ThinkNodeM7Board : public ESP32Board {
|
|
|
|
public:
|
|
void begin();
|
|
void enterDeepSleep(uint32_t secs, int pin_wake_btn = -1);
|
|
void powerOff() override;
|
|
const char* getManufacturerName() const override;
|
|
void onBeforeTransmit() override {
|
|
digitalWrite(P_LORA_TX_LED, LOW);
|
|
}
|
|
void onAfterTransmit() override {
|
|
digitalWrite(P_LORA_TX_LED, HIGH);
|
|
}
|
|
};
|