Example program for Sparkfun Serial Graphic LCD library.

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
shimniok
Date:
Wed Mar 28 16:33:49 2012 +0000
Parent:
0:046ebfaa15d3
Commit message:
Revised to show pos() and posXY() member functions.

Changed in this revision

SerialGraphicLCD.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SerialGraphicLCD.lib	Wed Mar 28 16:05:35 2012 +0000
+++ b/SerialGraphicLCD.lib	Wed Mar 28 16:33:49 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/shimniok/code/SerialGraphicLCD/#dff460658aed
+http://mbed.org/users/shimniok/code/SerialGraphicLCD/#2f436b8aebf4
--- a/main.cpp	Wed Mar 28 16:05:35 2012 +0000
+++ b/main.cpp	Wed Mar 28 16:33:49 2012 +0000
@@ -12,10 +12,10 @@
         lcd.pixel(14, 35, true);
         lcd.pixel(16, 36, true);
         lcd.pixel(18, 37, true);
-        lcd.pos(5, 30);
+        lcd.pos(4, 1);
         lcd.printf("Hi");
         lcd.circle(50, 20, 20, true);
-        lcd.pos(50, 20);
+        lcd.posXY(50, 20);
         lcd.printf("Howdy");
         lcd.line(0, 0, 25, 25, true);
         wait(2);