Last active
June 12, 2019 06:10
-
-
Save fxprime/0dc791cf8f3f7d876dedd9c7b1763db1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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