lcd.begin(16, 2);// lcd display is type 16x2 lcd.setCursor(0,2);
One of these is wrong, for starters.