Working, converted test code for working Arduino-compatible LCD shield with the configuration of "LiquidCrystal lcd(12, 11, 10, 9, 8, 7)". All it says, is my name and the board ID. It's a 'proof-of-concept' project showing my LCD shield works without any hardware changes.

Dependencies:   TextLCD mbed

Fork of TextLCD_HelloWorld by Chris Styles

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 #include "TextLCD.h"
00003 
00004 TextLCD lcd(PTC9, PTA13, PTD5, PTD0, PTD2, PTD3); // rs, e, d0-d3
00005 
00006 int main() {
00007     lcd.printf("Marcos Miranda's\n");
00008     lcd.locate(0, 1);
00009     lcd.printf("   FRDM-KL25Z   ");
00010 }