//YWROBOT //Compatible with the Arduino IDE 1.0 //Library version:1.1 #include #include LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display void setup() { Serial.begin(9600); lcd.init(); // initialize the lcd lcd.backlight(); } void loop() { if (Serial.available()) { float inByte = Serial.read(); lcd.clear(); lcd.setCursor(3,0); lcd.print("Temperature"); lcd.setCursor(2,1); lcd.print(inByte/10); delay(100); } }