8 years, 5 months ago.

Cannot get analog data to display on LCD, but hello world works?

I am using the analog data programme from the mbed book, have included the mbed.h and textlcd.h files form hello world programme but cannot get anything other than the display dark blocks which mean it is not seeing data, I have tried changing and redefining pins to no avail, any suggestions?

1 Answer

8 years, 5 months ago.

When you see one line of dark blocks on a 2-line display that means power (pin 1 and 2) and LCD contrast voltage (pin 3) are OK. You probably have some data or control lines mixed up or not making contact. Also make sure that for the standard LCD lib to work you must connect the RW line (pin 5 on the LCD) to GND.