Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Spencer
Published © Apache-2.0

Low-Code UI Design for SenseCAP Indicator with SquareLine

Design SenseCAP Indicator UIs effortlessly, no code needed. With SqureLine Studio, you can design a UI quickly and animation.

BeginnerFull instructions provided30 minutes1,104
Low-Code UI Design for SenseCAP Indicator with SquareLine

Things used in this project

Hardware components

SenseCAP Indicator D1
Seeed Studio SenseCAP Indicator D1
×1

Software apps and online services

SqureLine Studio
SquareLine Studio is a visual drag-and-drop UI editor to create beautiful Graphical User Interfaces quickly and easily for embedded and desktop applications.

Story

Read more

Code

Spen_HA.zip

C/C++
SquareLine Project
SquareLine Studio Project

Home Assistant.zip

C/C++
the project exported by SqureLine Studio.
// This file was generated by SquareLine Studio
// SquareLine Studio version: SquareLine Studio 1.3.3
// LVGL version: 8.3.3
// Project name: Home Assistant

#ifndef _HOME_ASSISTANT_UI_H
#define _HOME_ASSISTANT_UI_H

#ifdef __cplusplus
extern "C" {
#endif

    #include "lvgl/lvgl.h"

#include "ui_helpers.h"
#include "ui_events.h"
// SCREEN: ui_Screen_HA_Data
void ui_Screen_HA_Data_screen_init(void);
extern lv_obj_t *ui_Screen_HA_Data;
extern lv_obj_t *ui_Temperature;
extern lv_obj_t *ui_ImageIcon1;
extern lv_obj_t *ui_PanelData;
extern lv_obj_t *ui_LabelData1;
extern lv_obj_t *ui_LabelUnit1;
extern lv_obj_t *ui_LabelTitle1;
extern lv_obj_t *ui_Humidity;   
extern lv_obj_t *ui_ImageIcon2;
extern lv_obj_t *ui_PanelData1;
extern lv_obj_t *ui_LabelData2;
extern lv_obj_t *ui_LabelUnit2;
extern lv_obj_t *ui_LabelTitle2;
extern lv_obj_t *ui_TVOC;
extern lv_obj_t *ui_ImageIcon3;
extern lv_obj_t *ui_PanelData2;
extern lv_obj_t *ui_LabelData3;
extern lv_obj_t *ui_LabelUnit3;
extern lv_obj_t *ui_LabelTitle3;
extern lv_obj_t *ui_CO2;
extern lv_obj_t *ui_ImageIcon4;
extern lv_obj_t *ui_PanelData3;
extern lv_obj_t *ui_LabelData4;
extern lv_obj_t *ui_LabelUnit4;
extern lv_obj_t *ui_LabelTitle4;
extern lv_obj_t *ui_Label4;
extern lv_obj_t *ui____initial_actions0;

LV_IMG_DECLARE( ui_img_ic_temp_png);   // assets\ic_temp.png
LV_IMG_DECLARE( ui_img_ic_hum_png);   // assets\ic_hum.png
LV_IMG_DECLARE( ui_img_ic_tvoc_png);   // assets\ic_tVOC.png
LV_IMG_DECLARE( ui_img_ic_co2_png);   // assets\ic_co2.png



void ui_init(void);

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif

Credits

Spencer

Spencer

4 projects • 3 followers
Embrace life.

Comments