https://www.hackster.io/projects/bfb38d

Dependencies:   mbed MMA8652 TextLCD MAG3110

main.cpp

Committer:
simon
Date:
2010-11-23
Revision:
1:7418a52375a0
Parent:
0:334327d1a416
Child:
2:ad0b044d0a10

File content as of revision 1:7418a52375a0:

// Hello World! for the TextLCD

#include "mbed.h"
#include "TextLCD.h"

TextLCD lcd(p15, p16, p17, p18, p19, p20); // rs, e, d0-d3

int main() {
    lcd.printf("Hello World!\n");
}