Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LCD課題0 by
main.cpp
00001 #include "mbed.h" 00002 #include "TextLCD.h" 00003 00004 TextLCD lcd(D8,D10,D11,D12,D13,D14); // rs, e, d4, d5, d6, d7) //LCD出力設定 00005 00006 int main(){ 00007 while(1){ //無限ループ 00008 lcd.cls(); //LCD表示初期化 00009 lcd.locate(0,0); //表示座標 00010 lcd.printf("Hello"); //文字表示 00011 wait(1.0); //1秒待つ 00012 lcd.cls(); //CD表示初期化 00013 lcd.locate(0,1); //表示座標 00014 lcd.printf("World!"); //文字表示 00015 wait(1.0); //1秒待つ 00016 } 00017 }
Generated on Fri Jul 15 2022 22:34:08 by
1.7.2
