Hi,
I'm trying to read a value from the main application and display it on UI. I have the following:
var string tempDistance = string(device.CurDistance,0,1) + " mm";
which displays the " mm" part, but the variable is not displayed. It should work(?) as I've tested the following:
if (device.CurDistance > 10.0)
temp = "DISTANCE ACQUIRED!"
else
temp = "DISTANCE NOT ACQUIRED!";
which correctly switches between "DISTANCE ACQUIRED" and "DISTANCE NOT ACQUIRED".
Any idea what might be going on? I'm extremely new to embedded wizard, so excuse my confusion...
Br