I am trying to publish antenna direction its an analog input on ESP8266 all good but needs to give a number 0 to 360 I cant see how to get the analog to go to script line 81 can someone help please I have an old brain and this is a steep learning curve for me..
server.sendContent
("<h3 style=text-align:center;font-size:300%;color:red;font-family:tahoma;>"
"Serial.print("Digital Value of Analog Input : "); + String(sensorValue)
);
Putting a Serial.print() in a string is not going to get you the text you want.
This might work if server.sendContent() can take a 'String' argument:
server.sendContent
("<h3 style=text-align:center;font-size:300%;color:red;font-family:tahoma;>"
"Digital Value of Analog Input : ");
server.sendContent(String(sensorValue));