島根短大 ライントレーサ制作チーム
/
lcd_monitor
液晶モジュールのサンプルプログラム
Revision 0:158e4900a691, committed 2019-07-29
- Comitter:
- GGU
- Date:
- Mon Jul 29 05:24:06 2019 +0000
- Commit message:
- LCD
Changed in this revision
diff -r 000000000000 -r 158e4900a691 AQM0802.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/AQM0802.lib Mon Jul 29 05:24:06 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/yasuyuki/code/AQM0802/#6fa303916aa8
diff -r 000000000000 -r 158e4900a691 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jul 29 05:24:06 2019 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" +#include "AQM0802.h" + +I2C i2c(I2C_SDA,I2C_SCL); //sda,scl +AQM0802 lcd(i2c); + +int main(void){ + lcd.init(); //LCD初期化 + lcd.locate(1,0); //表示位置を1行1桁にする + lcd.print("Hello"); //helloの表示 +} \ No newline at end of file
diff -r 000000000000 -r 158e4900a691 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Jul 29 05:24:06 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file