LCD 16x2, www.Sparkfun.com part LCD-09067, serial enabled

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
GerritPathuis
Date:
Fri Sep 22 20:51:09 2017 +0000
Parent:
0:e7b0972dec10
Child:
2:062905d74f97
Commit message:
update mbed lib version 151

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Dec 31 18:44:38 2010 +0000
+++ b/main.cpp	Fri Sep 22 20:51:09 2017 +0000
@@ -7,17 +7,17 @@
 // ---------------------------
 
 Serial lcd(p28, p27);       // tx, rx
-void clear(void);
+void clear_lcd(void);
 void move_cursor(int, int);
 
 int main() {
     int c=0;
     lcd.baud(9600);
     
-    clear();
+    clear_lcd();
     lcd.printf("Hello World");
     wait(1);
-    clear();
+    clear_lcd();
 
     while (1) {
         move_cursor(0,3);
@@ -28,8 +28,8 @@
     }
 }
 
-//------clears the dispaly--------
-void clear(void) {
+//------clear the LCD display--------
+void clear_lcd(void) {
     lcd.putc(0xFE);
     lcd.putc(0x01);
 }
--- a/mbed.bld	Fri Dec 31 18:44:38 2010 +0000
+++ b/mbed.bld	Fri Sep 22 20:51:09 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/e2ac27c8e93e
+https://mbed.org/users/mbed_official/code/mbed/builds/675da3299148
\ No newline at end of file