show servo position on tft (utft)

so how do i show the servo position on my tft screen

There's no easy way to tell you this, so brace yourself - we don't know anything about your servo or your TFT.

You got to give us something to work with. Pictures, links, some code perhaps, something. Servos are easy, what ever value you are using to get it to rotate or sweep, will be the value you show on the TFT display.

There's no easy way to tell you this, so brace yourself - we don't know anything about your servo or your TFT.

... or which Arduino is being used [assuming there is one].

i youse iteadbo2-5,0 tft on the itdb02 arduino mega shield 2,0 on an arduino mega 2560 whith the utft library and the servo is an 180 degree servo

link to tft One-stop Online Shop For Smart Home, HMI Display, Airspy, Diy Kits l ITEAD STUDIO

Have you installed the library, and do you have any code that compiles?
Most TFT lcds come with demos to try out, does the demo work?

http://henningkarlsen.com/electronics/library.php?id=51

Some demos showcasing most of the functions are included in the download.

yes the tft works i just dont now how to show a servos data on the tft

here is the comands of the tft

UTFT KEYWORD1

InitLCD KEYWORD2
clrScr KEYWORD2
fillScr KEYWORD2
setColor KEYWORD2
setBackColor KEYWORD2
getColor KEYWORD2
getBackColor KEYWORD2
drawPixel KEYWORD2
drawLine KEYWORD2
drawRect KEYWORD2
drawRoundRect KEYWORD2
fillRect KEYWORD2
fillRoundRect KEYWORD2
drawCircle KEYWORD2
fillCircle KEYWORD2
print KEYWORD2
printNumI KEYWORD2
printNumF KEYWORD2
setFont KEYWORD2
drawBitmap KEYWORD2
lcdOff KEYWORD2
lcdOn KEYWORD2
setContrast KEYWORD2
getDisplayXSize KEYWORD2
getDisplayYSize KEYWORD2
getFont KEYWORD2
getFontXsize KEYWORD2
getFontYsize KEYWORD2

LEFT LITERAL1
RIGHT LITERAL1
CENTER LITERAL1
PORTRAIT LITERAL1
LANDSCAPE LITERAL1

HX8347A LITERAL1
ILI9327 LITERAL1
SSD1289 LITERAL1
ILI9325C LITERAL1
ILI9325D_8 LITERAL1
ILI9325D_16 LITERAL1
HX8340B_8 LITERAL1
HX8340B_S LITERAL1
HX8352A LITERAL1
ST7735 LITERAL1
PCF8833 LITERAL1
S1D19122 LITERAL1
HX8352A LITERAL1
SSD1963_480 LITERAL1
SSD1963_800 LITERAL1
S6D1121_8 LITERAL1
S6D1121_16 LITERAL1
SSD1289LATCHED LITERAL1
ILI9320_8 LITERAL1
ILI9320_16 LITERAL1
SSD1289_8 LITERAL1

ITDB32 LITERAL1
ITDB32WC LITERAL1
TFT01_32W LITERAL1
ITDB32S LITERAL1
TFT01_32 LITERAL1
GEEE32 LITERAL1
ITDB24 LITERAL1
ITDB24D LITERAL1
ITDB24DWOT LITERAL1
ITDB28 LITERAL1
TFT01_24_8 LITERAL1
TFT01_24_16 LITERAL1
ITDB22 LITERAL1
GEEE22 LITERAL1
ITDB22SP LITERAL1
ITDB32WD LITERAL1
ITDB18SP LITERAL1
LPH9135 LITERAL1
ITDB25H LITERAL1
TFT01_32WD LITERAL1
ITDB43 LITERAL1
ITDB50 LITERAL1
ITDB24E_8 LITERAL1
ITDB24E_16 LITERAL1
GEEE24 LITERAL1
GEEE28 LITERAL1
ELEE32_REVA LITERAL1
ELEE32_REVB LITERAL1

VGA_BLACK LITERAL1
VGA_WHITE LITERAL1
VGA_RED LITERAL1
VGA_GREEN LITERAL1
VGA_BLUE LITERAL1
VGA_SILVER LITERAL1
VGA_GRAY LITERAL1
VGA_MAROON LITERAL1
VGA_YELLOW LITERAL1
VGA_OLIVE LITERAL1
VGA_LIME LITERAL1
VGA_AQUA LITERAL1
VGA_TEAL LITERAL1
VGA_NAVY LITERAL1
VGA_FUCHSIA LITERAL1
VGA_PURPLE LITERAL1

printNumI is what you want. You need to look at the demo code to see how it is used.
It should be something like,
myGLCD.printNumI(value, xcoord, ycoord, rotation); //rotation is usually set to the screen origin, either LANDSCAPE or PORTRAIT
TFTlcd.printNumI(value, xcoord, ycoord, rotation);
GLCD.printNumI(value, xcoord, ycoord, rotation);

Something like this.

print KEYWORD2
printNumI KEYWORD2

those look promising.

weel im kind of a noob in this so would be great if some one could help me a little white the code

I personally don't have your display, so why don't you work through some of the supplied examples?

there isent eny eksample on showing data from a servo

No, there isn't one to display the temperature from a one-wire temperature sensor, or an anemometer either, I'm guessing.

You know what angle you sent the servo to. Why not display that value?

Start with the demo that was given to you when you downloaded the library. See and understand how it works. Once you have done that, start to take away things and see what happens. The only way your going to learn how it works is by taking it apart

nonamejohn:
there isent eny eksample on showing data from a servo

Standard servos don't supply any data. You need to write the position to the screen somewhat like wrote the position to the servo.

There isent eny demo for showing The data from servo om The tft

There isent eny demo for showing The data from servo om The tft

You've already told us that, and we believe you.

I'm guessing there are examples to display text. Start with one of those, then send it the servo angle you wrote to the servo object.

so now i got the servo position on to the tft

but now the servo only changes position after every delay

code:

#include <UTFT.h>
#include <Servo.h> 

Servo myservo;
extern uint8_t SmallFont[];
extern uint8_t BigFont[];

int potpin = 0;  // analog pin used to connect the potentiometer
int val;    // variable to read the value from the analog pin
UTFT myGLCD(SSD1963_800,38,39,40,41);   



void setup()
{
  randomSeed(analogRead(0));
  
// Setup the LCD
  myGLCD.InitLCD();
  myGLCD.setFont(BigFont);
  
  //servo
  myservo.attach(9);


}
void loop()
{
   
  
  //lcd
  myGLCD.clrScr();
  myGLCD.setColor(0, 255, 0);
  myGLCD.setBackColor(0, 0, 0);
  //myGLCD.print("halo", CENTER, 0);
  myGLCD.printNumI(val, 0, 179,0);
  delay(10000);
  

     
  //servo
   val = analogRead(potpin);            // reads the value of the potentiometer (value between 0 and 1023) 
  val = map(val, 0, 1023, 0, 179);     // scale it to use it with the servo (value between 0 and 180) 
      
       myservo.write(val);                  // sets the servo position according to the scaled value 
       delay(15);  

      
}

So, get rid of the ten second delay.