So I'm using an LCD + Serial display but am having trouble coding it. I'm making a controlled water bath and on the screen I want to display:
SV: 100F PV: 098F
so some basic texts and then variable inputs. One variable will be defined in the program and not changed (SV=Set Value) and the other variable is an input of the current temperature (PV=Present Value).
The problems I'm having with the coding are: -Not having the display loop, so SV and PV are always in the same spots. Currently when I'm coding I'm putting the lcd.print("PV: ") in the while loop which I assume this is why it is happening. To solve this I have been putting it in the void setup() -Another problem I am having is displaying the variable. When I use lcd.write(variable) it doesn't give the correct output because lcd.write function only takes in ascii values so do I need to convert the variable into three ascii values for the ones, tens, and hundreds place.
I'm having trouble finding any sort of support for coding using the Serial + LCD RGB 16x2 other than the tutorial but even that hasn't been helpful in the problems I'm having. I can upload the code and pictures if need be.
Thanks in advance.