esp_interface.h 414 B

1234567891011121314151617181920212223242526
  1. #ifndef esp_interface_h
  2. #define esp_interface_h
  3. #include "Display.h"
  4. #include <HardwareSerial.h>
  5. #define ESP_RST 14
  6. #define ESP_ZERO 13
  7. #define BAUD 57600
  8. extern Display display_obj;
  9. class EspInterface {
  10. public:
  11. bool supported = false;
  12. void RunUpdate();
  13. void bootProgramMode();
  14. void bootRunMode();
  15. void begin();
  16. void program();
  17. void main(uint32_t current_time);
  18. };
  19. #endif