The LCD display on the Dwengo board is a 16x2 character display with backlight. This display uses a frequently used HD44780 compatible controller.
This table shows the standardised pin configuration for the 16-pins connector of these frequently used displays.
Pin Function Dwengo board Description 1 GND GND 2 Vcc +5V 3 V0 Trimmer TR1 Contrast adjustment 4 RS RE0 Register select: low = instruction, high = data 5 R/W RE1 Low = Write, High = Read 6 E RE2 Enable (active high) 7 DB0 RD0 Data-bus bit 0 (not used in 4-bit mode) 8 DB1 RD1 Data-bus bit 1 (not used in 4-bit mode) 9 DB2 RD2 Data-bus bit 2 (not used in 4-bit mode) 10 DB3 RD3 Data-bus bit 3 (not used in 4-bit mode) 11 DB4 RD4 Data-bus bit 4 12 DB5 RD5 Data-bus bit 5 13 DB6 RD6 Data-bus bit 6 14 DB7 RD7 Data-bus bit 7 15 LED+ +5V Positive backlight supply 16 LED- RC0 (through T1) Negative backlight supply
The display is easy to use by means of the "lcd.h" library which was developed for the Dwengo board. This library ensures that the display is initialised correctly and it provides some handy intuitive functions for writing text to the display. More information about using the display can be found in the LCD tutorial.