Hi,
I'm new to UIFlow and Pyhton and run into a problem:
I get a course from GPS and store it (after button press) in courseset.
After that I want to show the deviation but it cannot make the calculation:
def buttonC_wasPressed():
global setcourse, curcourse, coursediff, gps
if curcourse:
setcourse = curcourse
label6.setText(str(setcourse))
pass
btnC.wasPressed(buttonC_wasPressed)
curcourse = gps.course
coursediff = curcourse - setcourse. // this line results in "Can't convert 'float' object to str implicitly"
Any suggestions?
Thanks!!!