invalid conversion from 'int' to 'char*' [-fpermissive] Cant figure this out...

So Im giving it my best. im sorry if this is cringy but im really new to this and dont know much.
What im trying to do is get the analog pins to read out onto the display… no matter what i try i cant get
it to convert or work with the “char*” thing that it wants. here is the code as it stands.

#include <SPI.h>
#include <Ethernet.h>
#include <UTFT.h>
extern uint8_t SmallFont[];
byte mac[] = {
  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
IPAddress ip(10, 80, 45, 254);
EthernetServer server(80);
UTFT myGLCD(ITDB28,A5,A4,A3,A2);

void setup()
  //Added bit of code for ethernet support
  Ethernet.begin(mac, ip);
  myGLCD.setColor(255, 0, 0);
  myGLCD.fillRect(0, 0, 319, 13);
  myGLCD.setColor(64, 64, 64);
  myGLCD.fillRect(0, 226, 319, 239);
  myGLCD.setColor(255, 255, 255);
  myGLCD.setBackColor(255, 0, 0);
  myGLCD.print("* UTFT TEST WORKING *", CENTER, 1);
void loop()
  int buf[318];
  int x, x2;
  int y, y2;
  int r;
  EthernetClient client = server.available();
  if (client) {
    myGLCD.setBackColor(0, 0, 0);
    myGLCD.setColor(255, 255, 255);
    myGLCD.print("new client", CENTER, 16);
    boolean currentLineIsBlank = true;
    while (client.connected()) {
      if (client.available()) {
        char c =;
        if (c == '\n' && currentLineIsBlank) {
          // send a standard http response header
          client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/html");
          client.println("Connection: close");  // the connection will be closed after completion of the response
          client.println("Refresh: 5");  // refresh the page automatically every 5 sec
          client.println("<!DOCTYPE HTML>");
          for (int analogChannel = 0; analogChannel < 6; analogChannel++) {
            int sensorReading = analogRead(analogChannel);
            client.print("analog input ");
            client.print(" is ");
        if (c == '\n') {
          currentLineIsBlank = true;
        } else if (c != '\r') {
          currentLineIsBlank = false;
    char* AN1[5] = {analogRead(0)};
    myGLCD.print(AN1, CENTER, 48);
    myGLCD.print(str, CENTER, 32);
    myGLCD.print("client disconnected", CENTER, 16);
    myGLCD.setColor(0, 0, 0);
    myGLCD.fillRect(0, 16, 319, 32);

how hard can it be really to get some numbers to flipn print on the screan?! what am i missing?!

    char* AN1[5] = {analogRead(0)};

myGLCD.print(AN1, CENTER, 48);

So you've attempted to put an integer into the space of a 4-character string but it won't go, will it?

Look up the use of the sprintf() function. That will allow you to "print" the integer into a string which the LCD can then use to print to the screen. It's part of the standard C library that sits behind the Arduino functions, so it isn't documented on the Arduino website. My preferred reference for these libraries is:

Well... if a read it
you can use printNumI instead of just "print" to print a INT