With the counter and the "IP:" write I get exactly what I expect. But when I have the rest of the information printed(with function calls) I end up with a couple of extra characters at the end. When I use Serial.print() these characters do not appear on the serial terminal. (as expected)
What is going on here? I would think that how I performed the operation is valid.
lcd.setCursor(0, 1);
lcd.print("IP: ");
lcd.setCursor(3, 1);
lcd.println(WiFi.localIP());
lcd.setCursor(0, 0);
lcd.println(WiFi.hostname());
Serial.println(WiFi.localIP(),HEX);
lcd.setCursor(0, 2);
lcd.println(WiFi.localIP(),HEX);
lcd.setCursor(0, 3);
lcd.println(ESP.getFlashChipRealSize());