LoginSignup
0
0

More than 5 years have passed since last update.

arduinoでLCD

Last updated at Posted at 2015-08-21

オークションで手に入れたLCDをarduino unoに、つないで見ました。

写真

MVC-017S.JPG

回路図

lcd.PNG

ライブラリー作ってみました。

サンプルコード

#include <Wire.h> 
#include <Lcd8574.h>

Lcd8574 lcd;

void setup()
{
    pinMode(13, OUTPUT);
    lcd = Lcd8574();
    lcd.begin(16, 2);
    lcd.print("hello, world!");
}
void loop()
{
    digitalWrite(13, HIGH);
    delay(1000);
    digitalWrite(13, LOW);
    delay(1000);
}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0