On one of my arduinos, this is the JSON output:
Code:
[{"title":"fuel used 0.000 gal/0.000 gal/0.000 gal/hr",
"subtitle":"fumes remaining, 18.000 gal e-reserve",
"ranges":[18.000,4287116.976,7868.320],
"measures":[0.000,18.000],
"markers":[0.000]},
{"title":"distance 0.73 mi/1.26 mi",
"subtitle":"0.00 mi to E, ---------- mi e-reserve, 4294967.30 mi safe range, 4294967.30 mi dry range",
"ranges":[4294967.3,4294967.3,2147483.6],
"measures":[----------],
"markers":[----------]},
{"title":"fuel economy 4294967.295 MPG",
"subtitle":"drag stats: 0-30 MPH in 0.000 sec, 0-60 MPH in 0.000 sec, 0.000 sec to 0.000 mi @ 0.000 MPH, engine output 0.000 HP @ 0.000 MPH",
"ranges":[110930.553,166395.830,277326.383],
"measures":[----------,----------,4294967.295],
"markers":[4294967.295]}]
Note the "--------------"
Since this appears only on my new arduino, I suspect it's because I have not run the setup routine, and some some parameters are resulting in calculations returning invalid values, which then return "---------".
I recommend returning a valid number for calculation errors. Blank will also work, however a JSON field with comma-delimited blanks will not work, so "measures":[,,4294967.295] is invalid and will result in a blank display, but "measures":[] is perfectly legitimate.