You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
383 B

#ifndef structs_h
#define structs_h
#include <Arduino.h>
#include "../lvgl/lvgl.h"
typedef struct s_espNow {
uint8_t type;
uint8_t id;
int16_t value;
} s_espNow;
typedef struct s_espNowButtons {
bool enabled;
bool needsUpdate;
int16_t state;
lv_obj_t *obj;
uint32_t colorOn;
uint32_t colorOff;
lv_obj_t *uiLabel;
char *uiLabelText;
} s_espNowButtons;
#endif