mirror of
https://github.com/justcallmekoko/ESP32Marauder.git
synced 2025-12-12 15:50:36 -08:00
* Adding new library, changing way of displaying texts (#118) * Adding custom icon for language button * Adding new library, changing way of displaying texts Added new library to make incoming translation possible to exists at the same time. * Prepare for flipper integration * More flipper wifi dev board work * Add command parse * Add set channel * Create bins for release v0.9.6 Co-authored-by: mlodawy <105587112+mlodawy@users.noreply.github.com>
36 lines
516 B
C++
36 lines
516 B
C++
#ifndef esp_interface_h
|
|
#define esp_interface_h
|
|
|
|
#include "configs.h"
|
|
|
|
#ifdef HAS_SCREEN
|
|
#include "Display.h"
|
|
#endif
|
|
|
|
#include <HardwareSerial.h>
|
|
|
|
#define ESP_RST 14
|
|
#define ESP_ZERO 13
|
|
#define BAUD 115200
|
|
|
|
#ifdef HAS_SCREEN
|
|
extern Display display_obj;
|
|
#endif
|
|
|
|
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
|