But with a little change in the init lines: LiquidCrystal_I2C lcd(0x20, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE); // Addr, En, Rw, Rs, d4, d5, d6, d7, backlighpin, polarity This is IIC Serial 20X4 LCD module . With this I2C interface LCD 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. Interface: I2C I2C Address: 0x27(it can't be changed ) Sofware version :0022 SDA (DATA) -> analog input pin 4 SCL (CLOCK) -> analog input pin 5 Pin Definition : GND, VCC, SDA, SCL Back lit (Blue with black char color) Supply voltage: 5V Pcb Size : 60mm × 99mm Contrast Adjust : Potentiometer Backlight Adjust : Jumper # LCD Backlight Module Arduino Test Code: #include #include LiquidCrystal_I2C lcd(0x27,16,2); //set the LCD address to 0x27 for a 16 chars and 2 line display Void setup() { Lcd.init(); Lcd.backlight(); lcd.setCursor(0, 0); Lcd.print("b2cqshop"); lcd.setCursor(0, 1); Lcd.print("Voltage: "); lcd.setCursor(13, 1); Lcd.print("V"); } Void loop() { Int val; Float temp; Val=analogRead(0); Temp=val/4.092; Val=(int)temp;// lcd.setCursor(9, 1); Lcd.print(0x30+val/100, BYTE); Lcd.print(0x30+(val0)/10, BYTE); Lcd.print('.'); Lcd.print(0x30+val, BYTE); Delay(100); } # LCD Backlight Module Package Included : 1PCx IIC/I2C/TWI/SPI Serial Interface2004 20X4 Character LCD Module Display Blue    Here is our Market 1. We accept OEM/ODM service. 2. We accept whole bulk dropshipping order. 3. Quick delivery time.   FAQ Q1. What is your lead time? A: We will ship out the goods within 5 working days after received the payment, finally depends on quantities. Q2. What is your sample policy? A: Welcome to ask sample, we can send out the sample within 2 days, please contact us. Q3. Do you test all your goods before delivery? A: Yes, we have QC department we will do 100% test before the shipment. Q4. What is your warranty? A: Our warranty is 90 days after goods have been received. Q5. What's the MOQ for your products? A: The MOQ for each product is different, but we also accept small order, welcome to contact us. Q6. How do I pay for the order? A: You can draft an order by yourself and pay it , or contact us pay by TT , Paypal, Alipay, Wechat etc. Q7. Do you accept the whole bulk dropshipping order ? A: Yes, please contact us. |