language-arduino icon indicating copy to clipboard operation
language-arduino copied to clipboard

Issue with long text string

Open egadgetjnr opened this issue 8 years ago • 1 comments

Hey There, I've come across an issue when I'm trying to make a long text string. I'm not 100% sure what is going on.

I have the following Code: sDataString = "{ \"SystemID\" : \"" + SYSTEMID + "\", \"Probe1\" : \"" + Probe1 + "\", \"Probe2\" : \"" + Probe2 + "\", \"Probe3\" : \"" + Probe3 + "\", \"Probe4\" : \"" + Probe4 + "\", \"Ambient1\" : \"" + Ambient1 + "\", \"Ambient2\" : \"" + Ambient2 + "\", \"Ambient3\" : \"" + Ambient3 + "\", \"Ambient4\" : \"" + Ambient4 + "\", \"MQTT_Timestamp\" : \"" + getTS("time") + "\" }";

However, the last few parts of it appear if it's still a string. screen shot 2015-11-28 at 9 54 54 am

Do you have any ideas?

egadgetjnr avatar Nov 27 '15 23:11 egadgetjnr