Add esp8266 interface

This commit is contained in:
Just Call Me Koko
2021-04-08 15:22:33 -04:00
parent 5102939dd5
commit a18b8b3004
10 changed files with 198 additions and 3 deletions

View File

@@ -0,0 +1,26 @@
#ifndef esp_interface_h
#define esp_interface_h
#include "Display.h"
#include <HardwareSerial.h>
#define ESP_RST 14
#define ESP_ZERO 13
#define BAUD 57600
extern Display display_obj;
class EspInterface {
public:
bool supported = false;
void RunUpdate();
void bootProgramMode();
void bootRunMode();
void begin();
void program();
void main(uint32_t current_time);
};
#endif