Hello everyone, maybe I'm writing something trivial but I don't know how to do it, I looked on the internet but with little luck. I wanted to ask how to chain an HTML text with a physical value read by Arduino.
I put a piece of code so we understand each other better:
client.println(F("<h1 style=\"font-size:200%; position:fixed; top:45%; left:0%;\">Total generated</h1>"));
client.print(node.getResponseBuffer(0x12)/100.0f);
I would like the value I read from node.getResponseBuffer(0x12)/100.0f to be on the same line as the writing with the same size...
if I simply write it the way I did it is written randomly on the page...
Can someone tell me how to change the code to have everything on one line and the same size?
Thank you all very much