You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you very much for using LibDriver. Based on the information you provided, we have found that the 'ssd1306_interface_iic-write (uint8_t addr, uint8_t reg, uint8_t * buf, uint16_tlen)' function does not seem to have a section for writing the register address, reg is the register address, and when writing data without specifying the register address, the chip will treat the first byte of the data as the register address, causing the entire driver to write incorrectly. You can refer to ssd1306/project/stm32f407/driver/src/stm32f407_driver_ssd1306_interface.c for more information
第一个问题
驱动抽象化极佳,但我有一些使用上的小细节不太明白,我没能成功驱动单色OLED屏幕,因此希望得到您的帮助。
我使用IIC驱动OLED,事先已经配置好了IIC驱动,并且做了部分移植。如图,这样的使用方法是对的吗?
第二个问题
我确定通讯正常进行,因为从机一直在应答。但是实际上屏幕没有显示。由于我没有使用SPI驱动。因此我没有对_interface部分的SPI驱动进行任何修改,同时由于不需要deinit,我也没有添加该部分驱动。请问这是正确的使用方法吗?
Additional context
在此之前我成功使用其他驱动让OLED屏幕亮起,因此我确信这块屏幕是完全正常的。如果有任何需要我补充说明的部分,请告知我,对您的援助之手不胜感激!
The text was updated successfully, but these errors were encountered: