Skip to content

Instantly share code, notes, and snippets.

@fxprime
Last active June 12, 2019 06:10
Show Gist options
  • Select an option

  • Save fxprime/0dc791cf8f3f7d876dedd9c7b1763db1 to your computer and use it in GitHub Desktop.

Select an option

Save fxprime/0dc791cf8f3f7d876dedd9c7b1763db1 to your computer and use it in GitHub Desktop.
// Example code จาก www.arduinona.com
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
// กำหนด Pin i2c สำหรับเชื่อมต่อกับหน้าจอ
LiquidCrystal_I2C lcd(0x27, 16, 2);
void setup()
{
// initialize ให้ LCD เริ่มสื่อสารกับบอร์ด
lcd.begin();
// เปิด blacklight
lcd.backlight();
}
void loop()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment