Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 6 months ago.
ST7920 LCD driver interfacing Nucleo-L053r8
Hi everyone, I'm trying ti interface ST7920 with Nucleo-L053R8 board. My hardware configuration is as below.
Pin .No Pin name (ST7920) Nucleo-L053R8 1 VSS GND 2 VDD +5V 3 VO +5V 4 RS ( CS) MOSI ( D11) 5 R/W CS (D10) 6 E(SCLK) MISO (D12) 7-14 DBO –DB7 D0 – D7 15 PSB NC 16 NC NC 17 /RST NC 18 Vout/NC NC 19 LED_K GND 20 LED_A +5V
Are these connections are right? Thank you.
<<code>>
ST7920::ST7920 (PinName _RS,PinName _RW, PinName _E, PinName DB0, PinName DB1, PinName DB2, PinName DB3, PinName DB4, PinName DB5, PinName DB6, PinName DB7) ST7920 st79(D11,D10,D12,D0,D1,D2,D3,D4,D5,D6,D7);
int main () { st79.InitDisplay(); while(1) {
st79.DisplayChar(1,1,9); wait_ms(1000);
} } <</code>>
posted by Mohan gandhi Vinnakota 29 Oct 2015