test datas
This commit is contained in:
parent
48aab82046
commit
77953a3397
@ -173,6 +173,22 @@ int app_main(int argc, char *argv[])
|
|||||||
startEvtManager();
|
startEvtManager();
|
||||||
|
|
||||||
xTaskCreate(drawIhm, "LVGL", 128 * 1024, getIHMQueueHandle(), 3, NULL);
|
xTaskCreate(drawIhm, "LVGL", 128 * 1024, getIHMQueueHandle(), 3, NULL);
|
||||||
|
send_event(EVT_WIFI_CONNECTED,NULL);
|
||||||
|
meteodailyforecast_data dts = {
|
||||||
|
.datetime= time(NULL),
|
||||||
|
.isValid= true,
|
||||||
|
.previsions = {
|
||||||
|
.desc = "Ensoleillé",
|
||||||
|
.icon = "p4j",
|
||||||
|
.max = 12.40f,
|
||||||
|
.min = 3.30f
|
||||||
|
}
|
||||||
|
};
|
||||||
|
extern lv_subject_t forecastD1Subj;
|
||||||
|
ESP_LOGI("test_ihm", "Setting forecastD1Subj");
|
||||||
|
|
||||||
|
lv_subject_set_pointer(&forecastD1Subj, &dts);
|
||||||
|
|
||||||
/* Enter the run loop of the selected backend */
|
/* Enter the run loop of the selected backend */
|
||||||
driver_backends_run_loop();
|
driver_backends_run_loop();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user