cancel
Showing results for 
Search instead for 
Did you mean: 

Im trying to use ST7920 GLCD with STM32F401RE with I2C connection,im still new with programming so im trying to find a library when using I2C,most videos and libraries i found are for SPI connections..if anyone has a library pls help thank you

Qsdxkh
Associate II
 
2 REPLIES 2
Foued_KH
ST Employee

Hello @Qsdxkh​ ,

Please find attached the driver of ST7920 GLCD.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

S.Ma
Principal

Here is an example of I2C by bit bang with a single API to drive most slaves, includes error recovery.

If you can convert the SPI functions into the I2C equivalent (and if the driver is well designed for it), then you should be out of the woods.