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

Dependencies:   mbed MMA8652 TextLCD MAG3110

main.cpp

Committer:
simon
Date:
2010-12-04
Revision:
2:ad0b044d0a10
Parent:
1:7418a52375a0
Child:
3:2cc1ff874a75

File content as of revision 2:ad0b044d0a10:

// Hello World! for the TextLCD

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

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

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