working basic OTA

This commit is contained in:
Siwat Sirichai 2024-01-15 21:56:07 +07:00
parent df09914bd3
commit a2fe4a3d67
5 changed files with 207 additions and 195 deletions

View file

@ -41,6 +41,7 @@ class ESPMegaDisplay
bool beginUpdate(size_t size);
bool writeUpdate(uint8_t* data, size_t size);
void endUpdate();
size_t getOtaBytesWritten();
protected:
size_t otaBytesWritten;
uint8_t currentPage;