I am trying to get temperature data to my LCD via the HC-12 device. I want to display the data on both the Serial monitor and LCD using the Ardafruit library. The data is displayed correctly on the serial monitor but not on the LCD.
The portion of code that is of concern is:
while (HC12.available()) {
Tempf = HC12.read();
Serial.write(Tempf);
tft.print (Tempf);
}
Tempf is defined as an integer and as stated gets displayed correctly on the serial monitor but not on the LCD via the tft.print statement. Is there a different format the LCD needs?
Thank you