Search found 1 match
- Mon Mar 14, 2022 3:34 pm
- Forum: ESP IoT Solution 中文讨论版
- Topic: SSD1306 oled屏驱动失败 程序跑飞
- Replies: 0
- Views: 2153
SSD1306 oled屏驱动失败 程序跑飞
程序在进入lcd初始化阶段就跑飞,仔细阅读的源代码发现一个问题, scr_interface_create(SCREEN_IFACE_I2C , &iface_cfg, &iface_drv); 在这个函数内部 interface_i2c->interface_drv.type = type; interface_i2c->interface_drv.write_cmd = i2c_lcd_write_cmd; interface_i2c->interface_drv.write_data = i2c_lcd_write_data; interface_i2c->interface_drv.w...