เมนู
สินค้าในตระกร้า

ขาย I2C Module สำหรับ จอ LCD ราคา 35.00 บาท ในไทย

ขาย I2C Module  สำหรับ จอ LCD ราคา 35.00 บาท ในไทย

รายละเอียด

I2C interface module for 16x2 or 20x4 LCD

โมดูล I2C สำหรับเชื่อมต่อกับ LCD ขนาด 16x2 หรือ 20x4

สามารถควบคุมการเปิดปิด LED Backlight ที่ LCD ได้

หมายเหตุ Address ของ I2C module โดยทั่วไปจะมีสอง Address คือ 0x27 หรือ 0x3F

โค๊ดการหา Address I2C

  

#include 

void setup() {
Serial.begin (115200);

// Leonardo: wait for serial port to connect
while (!Serial)
{
}

Serial.println ();
Serial.println ("I2C scanner. Scanning ...");
byte count = 0;

Wire.begin();
for (byte i = 8; i < 120; i++)
{
Wire.beginTransmission (i);
if (Wire.endTransmission () == 0)
{
Serial.print ("Found address: ");
Serial.print (i, DEC);
Serial.print (" (0x");
Serial.print (i, HEX);
Serial.println (")");
count++;
delay (1); // maybe unneeded?
} // end of good response
} // end of for loop
Serial.println ("Done.");
Serial.print ("Found ");
Serial.print (count, DEC);
Serial.println (" device(s).");
} // end of setup

void loop() {}
 
ขาย I2C Module สำหรับ จอ LCD ราคา 35.00 บาท ในไทย
35.00 บาท
  • จำนวนสินค้า: 6
  • รุ่น: I2C LDC
  • น้ำหนัก: 6.00g
  • SKU: 3001
Product Views: 3951

สินค้าที่เกี่ยวข้อง

จอ LCD 16 ตัวอักษร 2 บรรทัด Background เป็นสีฟ้า ตัวอักษรเป็นสี ขาว..
70.00 บาท
เป็น module sensor วัดได้ทั้ง อุณหภูมิ และ ความชื้น ในตัวเดียวกัน โมดูลนี้มี Resistor อยู่ในโมดูลแล้วสามารถ ต่อเข้ากับไมโครคอนโทรลเลอร์โดยตรงได้ ..
60.00 บาท
BELT 6mm 2GT ( สายพาน 3d printer )  ราคา เมตรละ 60 บาท  สามารถสั่งความยาวได้ เช่นถ้าต้องการ ยาว 2 เมตร เราจะตัดให้ลูกค้ายาว 2 เมตร&..
40.00 บาท
คำอธิบายของผลิตภัณฑ์ ชนิดของฟัน: gt2 ความกว้าง: 6mm วัสดุ: อลูมิเนียม จำนวนฟัน: 20 ขนาดรูใน (แกนเพลา): 3mm น้ำหนักสุทธิ: 4g..
60.00 บาท