mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-07-28 17:39:21 +00:00
22 lines
474 B
C++
22 lines
474 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();
|
|
const char* getManufacturerName() const override;
|
|
void onBeforeTransmit() override {
|
|
digitalWrite(P_LORA_TX_LED, LOW);
|
|
}
|
|
void onAfterTransmit() override {
|
|
digitalWrite(P_LORA_TX_LED, HIGH);
|
|
}
|
|
};
|