I have a signal program from a potentiometer and I want to display it on the TFT Shield LCD according to the serial plotter I want to use MCUFriend library
I wonder how the program is friends
I moved your topic to an appropriate forum category @ralisarira.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
whan you run your program and turn the potentiometer what is the serial monitor output?
improve your code presentation by using code tags, e.g. click < CODE > and paste you code where it says 'type or paste code here
what TFT shield do you have? what Arduino are you using?
int potentiometer;
int static_variable = 500;
void setup() {
Serial.begin(9600);
}
void loop() {
potentiometer = analogRead(A1);
Serial.print("Variable_1:");
Serial.print(potentiometer);
Serial.print(",");
Serial.print("Variable_2:");
Serial.println(static_variable);
}
and i use library
MCUFRIEND_kbv.h
and use the Arduino TFT LCD Touch Screen 2.4 shield