1
0
Weather_ESP/components/display/display.h

28 lines
699 B
C

/*
* display.h
*
* Created on: 19 Apr 2020
* Author: Chris
*/
#ifndef COMPONENTS_DISPLAY_DISPLAY_H_
#define COMPONENTS_DISPLAY_DISPLAY_H_
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <esp_log.h>
#include <esp_err.h>
//#include "esp32_ucglib_hal.h"
//#include "ucg.h"
esp_err_t init_display();
void display_data(int32_t temp_raw, uint32_t pressure_raw, uint32_t humidity_raw,
int32_t temp2_raw, uint32_t pressure2_raw, uint32_t humidity2_raw);
void update_data(int32_t temp_raw, uint32_t pressure_raw, uint32_t humidity_raw,
int32_t temp2_raw, uint32_t pressure2_raw, uint32_t humidity2_raw);
void test_tft_lib();
#endif /* COMPONENTS_DISPLAY_DISPLAY_H_ */