Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Squareline Studio example project #132

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

kaladinstorm84
Copy link

Add an example project for Squareline Studio UI

Matt Anderson and others added 6 commits February 1, 2024 20:50
	new file:   Examples/Projects/Squareline/Squareline.ino
	new file:   Examples/Projects/Squareline/components/ui_comp_hook.c
	new file:   Examples/Projects/Squareline/filelist.txt
	new file:   Examples/Projects/Squareline/ui.c
	new file:   Examples/Projects/Squareline/ui.h
	new file:   Examples/Projects/Squareline/ui_Screen1.c
	new file:   Examples/Projects/Squareline/ui_comp_hook.c
	new file:   Examples/Projects/Squareline/ui_events.h
	new file:   Examples/Projects/Squareline/ui_helpers.c
	new file:   Examples/Projects/Squareline/ui_helpers.h
@witnessmenow
Copy link
Owner

As someone who has never used squareline before, is there any instructions that need to accompany this to inform people how to use it?

@amirzohaib
Copy link

As someone who has never used squareline before, is there any instructions that need to accompany this to inform people how to use it?

A bit of Instructions are needed, for example, your project settings in Squareline for CYD should be
Width:320
Height: 240
Depth: 16-bit
Board Group: Arduino
Board: Arduino with TFT_eSPI
LVGL Version same as your Library

For use with Platform IO = Set Call functions export file to .cpp

modified lv_conf.h and User_Setup.h needed to be replaced (containing pin definitions..etc
After line 366 of lv_conf.h you need to enable fonts that you used with 1
tft Rotation tft Invert if needed, and those Gamma corrections for better color should also be added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants