คือ ผมลองต่อ จอlcd 16x2 กับ l2c ต่อเข้ากับ Arduino มันมีไฟติดปกติ มี แทบ ขึ้นปกติ แต่พอรัน โปรแกรม เอาโค๊ด แบบเบสิคๆ มายังไม่ขึ้นเลยครับ ตามโค๊ด
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x20,16,2); // set the LCD address to 0x20 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
รันแล้วตัวอักษรไม่ขึ้น เลย มีแต่แทบขึ้นอย่างเดียว
ใครพอรู้บ้างช่วยบอก หน่อยนะครับบ ขอบคุณครับบ ^^
ปล. บางครั้งมันก็ขึ้นเป็นภาษาตางดาวแล้วพอถอดมันก็เป็นเหมือนเดิม 555
จอ lcd 16x2 ใช้กับ บอร์ด Arduino ผมต่อแล้วตัวอัษรไม่ขึ้น (มือใหม่ครับหัดเล่นครับ)
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x20,16,2); // set the LCD address to 0x20 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.print("Hello, world!");
}
void loop()
{
}
รันแล้วตัวอักษรไม่ขึ้น เลย มีแต่แทบขึ้นอย่างเดียว
ใครพอรู้บ้างช่วยบอก หน่อยนะครับบ ขอบคุณครับบ ^^
ปล. บางครั้งมันก็ขึ้นเป็นภาษาตางดาวแล้วพอถอดมันก็เป็นเหมือนเดิม 555