รหัสสินค้า | M303 |
หมวดหมู่ | ADC ,DAC, I2C,SPI ,EC11 |
ราคา | 35.00 บาท |
น้ำหนัก | 7 กรัม |
สถานะสินค้า | พร้อมส่ง |
ลงสินค้า | 16 พ.ค. 2559 |
อัพเดทล่าสุด | 27 ก.ค. 2567 |
จำนวน | Unit |
Specification:
This is another great IIC/I2C/TWI/ Serial Interface. As the pin resources of Arduino controller is limited, your project may be not able to use normal LCD shield after connected with a certain quantity of sensors or SD card. However, with this I2C interface module, you will be able to realize data display via only 2 wires. If you already has I2C devices in your project, this LCD module actually cost no more resources at all. It is fantastic for Arduino based project.
Specifications:
Size:54*19 mm(max)
Net weight:6 g
Package weight:16 g
Main Color:Black
Packing Content:
1 x IIC/I2C/TWI/ Serial Interface Board Module Port
//---------------------------------------------------
#include
#include
// PCF8574T set the LCD address to 0x27 for a 16 chars and 2 line display
LiquidCrystal_I2C lcd(0x27,16,2);
// PCF8574AT set the LCD address to 0x27 for a 16 chars and 2 line display
// LiquidCrystal_I2C lcd(0x3F,16,2);
void setup()
{
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
//lcd.print("Hello, world!");
lcd.home (); // ไปที่ตัวอักษรที่0แถวที่1
lcd.setCursor(1,0); // ไปทตัวอักษรที่1แถวที่1
lcd.print("I2C Interface");
lcd.setCursor(2,1); // ไปที่ตัวอักษรที่2แถวที่2
lcd.print("McuCity.com");
}
void loop()
{
}
//---------------------------------------------------
หน้าที่เข้าชม | 5,180,119 ครั้ง |
ผู้ชมทั้งหมด | 1,579,459 ครั้ง |
ร้านค้าอัพเดท | 18 ต.ค. 2568 |