mbed library for earthlcd ezLCD3xx line of displays
Dependencies: MMA8451Q SDFileSystem TSI ezLCDLib mbed
go here for library http://mbed.org/users/codeman/code/ezLCDLib/
main.cpp
- Committer:
- codeman
- Date:
- 2013-04-21
- Revision:
- 0:b4366af9dee8
- Child:
- 1:d8871919d781
File content as of revision 0:b4366af9dee8:
#include "mbed.h" #include "ezLCDLib.h" ezLCD3 lcd(PTC4, PTC3); int main() { while (1) { lcd.cls(); // wait(2); // lcd.light(50); // wait(2); lcd.printf("%d %s %02x", 1024, "test", 54); wait(1); // lcd.light(100); /* lcd.pixel(14, 35, true); lcd.pixel(16, 36, true); lcd.pixel(18, 37, true); lcd.pos(5, 30); lcd.printf("Hi"); lcd.circle(50, 20, 20, true); lcd.pos(50, 20); lcd.printf("Howdy"); lcd.line(0, 0, 25, 25, true); */ wait(2); } }