Files
t-embed-insecam-widget/main/display.h
T
Juli 65a391940b insecam desk widget for the LilyGO T-Embed
ESP-IDF 5.5 + LVGL 9 firmware that plays random public cameras from
insecam.org on the T-Embed's 320x170 screen, live MJPEG where available,
a new camera every 20 seconds. Knob steps through cameras, LED ring shows
the countdown. Auto-detects the original vs CC1101 board, reuses Wi-Fi
credentials from NVS and falls back to a captive-portal setup hotspot.
2026-09-17 00:38:09 +02:00

11 lines
236 B
C

#pragma once
#include <stdint.h>
#define LCD_H_RES 320
#define LCD_V_RES 170
// Brings up the ST7789 over SPI, starts the LVGL task. Backlight stays off.
void display_init(void);
// 0..100
void display_set_backlight(uint8_t percent);