SOLVED - Can't use server.print. Can't figure out server.write- I'm a month deep

JoeyPhxAZ:
because its a formatter

That's a bad assumption.

The function needs to be called whenever the variable is updated, otherwise, buf[] wouldn't get updated.

So yes, it will go into loop(), wherever you want buf[] to contain the updated message.