Hi I am having a problem with the following software syntax.
What I am trying to do:
read in voltage divider Values 0...4096 from a function generator.(0...10V) by using a simple voltage divider I get the voltages I need.
seperating the voltage levels in to ranges by using an If Statement, i get a yellow, red, and blue screen.
therefore I use the command tft.fillScreen(ILI9341_BLACK, YELLOW, RED or BLUE);
In front of this background I would like to have during these If statement a String with a Number or a variable or question mark to show up. it shows up but it blinks.
how do I stop the blinking? it is quit frustrating, a clear helping answer would be most kind.
point of notice: The first If statement<250 can be used to recreate all the following if statements, just change the colours to see if it blinks.
I used the print commands with the \n on the end, for overwritting the print command,
I tried looking at the GFX Files, which i simply dont grasp that well.
removing the fillscreen will work only for the black screen but not for the other colours.
and I know that setTextColor(ILI9341_WHITE,ILI9341_BLACK/or other colour works only partly, try it yourself if you dont believe me).
tx for readin this post.
sincerely yours
B
What I am trying to do:
read in voltage divider Values 0...4096 from a function generator.(0...10V) by using a simple voltage divider I get the voltages I need.
seperating the voltage levels in to ranges by using an If Statement, i get a yellow, red, and blue screen.
therefore I use the command tft.fillScreen(ILI9341_BLACK, YELLOW, RED or BLUE);
In front of this background I would like to have during these If statement a String with a Number or a variable or question mark to show up. it shows up but it blinks.
how do I stop the blinking? it is quit frustrating, a clear helping answer would be most kind.
point of notice: The first If statement<250 can be used to recreate all the following if statements, just change the colours to see if it blinks.
I used the print commands with the \n on the end, for overwritting the print command,
I tried looking at the GFX Files, which i simply dont grasp that well.
removing the fillscreen will work only for the black screen but not for the other colours.
and I know that setTextColor(ILI9341_WHITE,ILI9341_BLACK/or other colour works only partly, try it yourself if you dont believe me).
tx for readin this post.
sincerely yours
B