mch2022-talktopics/main/include/main.h

37 lines
948 B
C
Raw Permalink Normal View History

/*
* 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.
*/
#pragma once
2022-07-02 18:55:10 +00:00
// For pin mappings.
#include "hardware.h"
2022-07-02 18:55:10 +00:00
// For graphics.
#include "pax_gfx.h"
2022-07-02 18:55:10 +00:00
// For PNG images.
#include "pax_codecs.h"
2022-07-02 18:55:10 +00:00
// The screen driver.
#include "ili9341.h"
2022-07-02 18:55:10 +00:00
// For all system settings and alike.
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"
#include "esp_system.h"
#include "nvs.h"
#include "nvs_flash.h"
2022-07-02 18:55:10 +00:00
// For WiFi connectivity.
#include "wifi_connect.h"
#include "wifi_connection.h"
2022-07-02 18:55:10 +00:00
// For exiting to the launcher.
#include "soc/rtc.h"
#include "soc/rtc_cntl_reg.h"
2022-07-02 18:55:10 +00:00
// Updates the screen with the last drawing.
void disp_flush();
2022-07-02 18:55:10 +00:00
// Exits the app, returning to the launcher.
void exit_to_launcher();