You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CreateiveRobotics edited this page Mar 7, 2020
·
2 revisions
boolgetDouble(float &myDouble)
Try and convert the next item in the payload into a double precision float. If the attempt was successful the result will be written to the myDouble variable, and the method will return true.
example:
int myDouble;
if(cmd.getDouble(myDouble)){
cmd.print("Success, my double is: ");
cmd.println(myDouble);
}