Files
tide-display/ePaper-ESP-IDF/main/main.cpp
Peter Siegmund ca68e9786c starting drawing text
- zlib from components
- framebuffer for faster drawing
- disable currently smartconfig

Signed-off-by: Peter Siegmund <peter@rdkr.com>
2024-06-06 21:56:47 +02:00

27 lines
444 B
C++

#include <cJSON.h>
#include <esp_task.h>
#include <esp_task_wdt.h>
#include <stdio.h>
#include "epd_driver.h"
#include "mapView.h"
#include "smartconfig.h"
#include "utilities.h"
void setup(void) {
epd_init();
// init_smartconfig();
xTaskCreatePinnedToCore(mapView, "mapView", 4096, NULL, 5, NULL, 1);
}
void loop(void) {
vTaskDelay(pdMS_TO_TICKS(100));
}
extern "C" void app_main(void) {
setup();
while (1) {
loop();
}
}