LCD 패널과 i2C 센서를 활용한 화면 출력

소스코드

#include <Wire.h> 
#include <LiquidCrystal_I2C.h>

// Set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27, 16, 2);

void setup()
{
  // initialize the LCD
  lcd.begin();

  // Turn on the blacklight and print a message.
  lcd.backlight();
  lcd.print("Hello, world!");
}

void loop()
{
  // Do nothing here...
}

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7938872c-0456-4107-abac-ada87999142d/Untitled.png