0.参考
以ESP-IDF v5.5.0 Examples中的I2C OLED example为工程进行实践。
1.挂载OLED(128X64,SSD1309,I2C)
在 SDK Configuration Editor中确认一下配置、确认I2C引脚。


2.Build,Flash and Monitor
监视器输出 & OLED屏幕输出,GoodGood 
I (289) main_task: Started on CPU0
I (299) main_task: Calling app_main()
I (299) example: Initialize I2C bus
I (299) example: Install panel IO
I (299) example: Install SSD1306 panel driver
I (409) example: Initialize LVGL
I (409) example: Allocate separate LVGL draw buffers
I (409) example: Register io panel event callback for LVGL flush ready notification
I (409) example: Use esp_timer as LVGL tick timer
I (419) example: Create LVGL task
I (419) example: Starting LVGL task
I (429) example: Display LVGL Scroll Text
I (449) main_task: Returned from app_main()
2659

被折叠的 条评论
为什么被折叠?



