TaPeng
/
LCD_Basic
LCD_Basic
Revision 0:4623be575caf, committed 2019-03-18
- Comitter:
- tamamfirdaus
- Date:
- Mon Mar 18 16:05:33 2019 +0000
- Commit message:
- LCD_Basic;
Changed in this revision
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