Switch to lvgl7 and ArduinoLog

This commit is contained in:
fvanroie 2020-03-25 11:00:53 +01:00
parent 5200760829
commit 6fcbc27f83
2 changed files with 315 additions and 682 deletions

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,11 @@
#ifndef HASP_H
#define HASP_H
#include <Arduino.h>
#include "lvgl.h"
#include "hasp_conf.h"
#include "hasp_debug.h"
#ifdef __cplusplus
extern "C" {
#endif
@ -14,21 +19,6 @@ extern "C" {
* INCLUDES
*********************/
#include <Arduino.h>
#include "lvgl.h"
#include "hasp_conf.h"
#include "hasp_debug.h"
/* #ifdef LV_CONF_INCLUDE_SIMPLE
#include "lvgl.h"
#include "hasp_conf.h"
#else
#include "../lvgl/lvgl.h"
#include "hasp_conf.h"
#endif */
#if HASP_USE_APP
/*********************
@ -94,6 +84,9 @@ void haspWakeUp(void);
bool haspGetConfig(const JsonObject & settings);
bool haspSetConfig(const JsonObject & settings);
bool check_obj_type(const char * lvobjtype, lv_hasp_obj_type_t haspobjtype);
void haspSetToggle(lv_obj_t * obj, bool toggle);
/**********************
* MACROS
**********************/