2020-04-20 05:19:42 +02:00
|
|
|
/*
|
|
|
|
* 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>
|
2020-04-24 01:49:31 +02:00
|
|
|
#include "clock.h"
|
2020-04-20 05:19:42 +02:00
|
|
|
|
|
|
|
esp_err_t init_display();
|
|
|
|
void display_data(int32_t temp_raw, uint32_t pressure_raw, uint32_t humidity_raw,
|
2020-04-24 01:49:31 +02:00
|
|
|
int32_t temp2_raw, uint32_t pressure2_raw, uint32_t humidity2_raw,
|
|
|
|
time_str_t time);
|
2020-04-20 23:43:01 +02:00
|
|
|
void update_data(int32_t temp_raw, uint32_t pressure_raw, uint32_t humidity_raw,
|
2020-04-24 01:49:31 +02:00
|
|
|
int32_t temp2_raw, uint32_t pressure2_raw, uint32_t humidity2_raw,
|
|
|
|
time_str_t time);
|
2020-04-20 05:19:42 +02:00
|
|
|
|
|
|
|
#endif /* COMPONENTS_DISPLAY_DISPLAY_H_ */
|