I’m trying to add a newline to a string but I can’t get it to work, I want to have the distance value in one line and the rssi in a second line. Any idea what I’m missing?
I think you’re successfully adding the newline to the string, but your browser is ignoring it because the response is treated as HTML, in which newlines are just whitespace and are ignored. Try "<br/>" instead.