Skip to content

rloucks/chinScreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 

Repository files navigation

image

Robust Ardunio ESP32 (S3) library for the JC3248W525EN using LVGL 8.3.11 because it works, 9.3.x does not yet

Note

Remember to use the following header to set the orientation:
#define LVGL_PORT_ROTATION_DEGREE 0
#include <chinScreen.h>

See readme.md in library folder for all functions
https://github.com/rloucks/chinScreen/blob/main/libraries/chinScreen/readme.md

Important

image

Feature Modules

Each feature is disabled by defaul and you must enable them. This is to save on memory space. Includes are marked as .inc file to avoid uneeded compiling. Enable features by adding defines before including the library:

#define CHINSCREEN_ENABLE_SHAPES        // Rectangle, circle, triangle, hexagon, oval
#define CHINSCREEN_ENABLE_MEDIA         // Image, GIF, video support
#define CHINSCREEN_ENABLE_ICONS         // Static PNG icons with color support
#define CHINSCREEN_ENABLE_ANIMATED_ICONS // Animated GIF icons
#define CHINSCREEN_ENABLE_ANIMATIONS    // Advanced animation system
#define CHINSCREEN_ENABLE_EXAMPLES      // Built-in example functions
#define CHINSCREEN_ENABLE_DEBUG         // Debug utilities
#define CHINSCREEN_ENABLE_GFONTS        // Google Fonts support (WIP)
#define CHINSCREEN_ENABLE_SPRITES       // Sprite system (WIP)

Basic Commands


Initialization

init_display()

Initializes the display panel, sets rotation, and turns on the backlight.


Display Controls

Backlight Control

chinScreen_backlight(1); // On
chinScreen_backlight(0); // Off

Set Brightness

chinScreen_brightness(128); // Range 0-255

Clear Screen

chinScreen_clear();

image

About

chinScreen-JC3248W535

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors