mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-05 20:40:25 -08:00
29 lines
439 B
C++
29 lines
439 B
C++
#ifndef esp_interface_h
|
|
#define esp_interface_h
|
|
|
|
#include "Display.h"
|
|
#include <HardwareSerial.h>
|
|
|
|
#define ESP_RST 14
|
|
#define ESP_ZERO 13
|
|
#define BAUD 115200
|
|
|
|
extern Display display_obj;
|
|
|
|
class EspInterface {
|
|
public:
|
|
bool supported = false;
|
|
|
|
uint32_t initTime;
|
|
|
|
void RunUpdate();
|
|
void bootProgramMode();
|
|
void bootRunMode();
|
|
void begin();
|
|
|
|
void program();
|
|
void main(uint32_t current_time);
|
|
};
|
|
|
|
#endif
|