Using the Elmicro testboard display

Using the Elmicro testboard, the display-pin 5 (R/W) is connected to MBED 25. You need to set MBED pin 25 to 0, something that is not done by lib "TextLCD".

  1. include "mbed.h"
  2. include "TextLCD.h"

DigitalOut pen(p25);

TextLCD lcd(p26, p24, p23, p22, p20, p19, TextLCD::LCD20x2); rs, e, d4-d7

int main() {

pen = 0;

lcd.printf("Hello Ray het werkt!\n");


Please log in to post comments.