Skip to content

Instantly share code, notes, and snippets.

@baobao
Created August 20, 2019 17:46
Show Gist options
  • Save baobao/995c485f981d7631876574b1f355693b to your computer and use it in GitHub Desktop.
Save baobao/995c485f981d7631876574b1f355693b to your computer and use it in GitHub Desktop.
#include <LiquidCrystal.h>
// lcd変数生成
// RS, E, D4, D5, D6, D7という引数が代入されます
LiquidCrystal lcd(4, 6, 10, 11, 12, 13);
void setup()
{
// LCD1602なので、16文字2行を代入
lcd.begin(16, 2);
lcd.clear();
lcd.setCursor(0, 0);
// 出力文字列を設定
lcd.print("Hello Shibuya24");
}
void loop() {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment