LCD_Basic

Dependencies:   mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
tamamfirdaus
Date:
Mon Mar 18 16:05:33 2019 +0000
Commit message:
LCD_Basic;

Changed in this revision

TextLCD.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 4623be575caf TextLCD.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TextLCD.lib	Mon Mar 18 16:05:33 2019 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/wim/code/TextLCD/#ce348c002929
diff -r 000000000000 -r 4623be575caf main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Mon Mar 18 16:05:33 2019 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+#include "TextLCD.h"
+
+Serial pc(USBTX,USBRX);         //tx,rx ke pc
+
+I2C i2c_lcd(PB_9,PB_8);          //sda,scl
+
+TextLCD_I2C lcd(&i2c_lcd, 0x4E, TextLCD::LCD16x2);
+
+int main(){
+    lcd.printf("Hello Gan");
+}
\ No newline at end of file
diff -r 000000000000 -r 4623be575caf mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Mon Mar 18 16:05:33 2019 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/e95d10626187
\ No newline at end of file