- Updated sgl_print_hello function to clear the screen and render "Hello World" with improved task handling. - Modified business_task to repeatedly display "Hello World" every second. - Enhanced lcd_rtc_test to create and manage labels more efficiently, ensuring proper screen updates. - Introduced dynamic text handling in sgl_label to manage memory for label text, allowing for automatic cleanup on destruction. - Added cmd_mem_info function to display SGL memory usage via shell command. |
||
|---|---|---|
| .. | ||
| bsp | ||
| driver | ||
| letter_shell | ||
| lib | ||
| lua | ||
| sgl | ||
| btn.c | ||
| btn.h | ||
| delay.c | ||
| delay.h | ||
| os.h | ||
| readme.txt | ||
| sys.c | ||
| sys.h | ||
readme.txt
1,delay文件夹:存放延时相关的驱动代码。 2,sys文件夹:存放系统相关驱动代码。 3,uart文件夹:存放串口相关代码。 4,rt-thread:https://zhuanlan.zhihu.com/p/653746487?utm_campaign=shareopn&utm_medium=social&utm_psn=1827650748781039617&utm_source=wechat_session