29 lines
668 B
C++
Executable File
29 lines
668 B
C++
Executable File
/* Hello World Example
|
|
|
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
|
|
Unless required by applicable law or agreed to in writing, this
|
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
CONDITIONS OF ANY KIND, either express or implied.
|
|
*/
|
|
#include <stdio.h>
|
|
#include "sdkconfig.h"
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
#include "esp_system.h"
|
|
#include "esp_spi_flash.h"
|
|
#include "drivers/tft.hpp"
|
|
|
|
extern "C" void app_main(void)
|
|
{
|
|
printf("app_main\n");
|
|
|
|
init_tft();
|
|
create_demo_ui();
|
|
|
|
while (1) {
|
|
vTaskDelay(pdMS_TO_TICKS(10));
|
|
lv_timer_handler();
|
|
}
|
|
}
|