XYPlot Cursor Control
Posted: Thu Feb 01, 2024 7:21 pm
Hi,
I'm try to control some cursors on XYplot with an arduino via serial.
I have an issue with the command: "PlotterMC2.SetCursorPosition(F("T1"),T1Mc2YY);"
where "T1Mc2YY" is a float variable from 0.0 t 1.0 (as the guidelines ask).
Here is the command in serial plot "{XYPLOT:MC2|C-POS|T1|0.15900}"
But in the XYPlot menu is read as an int 15900 and the cursor goes out the Plotter view.
I can't figure out the problem.
Many thank's for help!
Nicola
I'm try to control some cursors on XYplot with an arduino via serial.
I have an issue with the command: "PlotterMC2.SetCursorPosition(F("T1"),T1Mc2YY);"
where "T1Mc2YY" is a float variable from 0.0 t 1.0 (as the guidelines ask).
Here is the command in serial plot "{XYPLOT:MC2|C-POS|T1|0.15900}"
But in the XYPlot menu is read as an int 15900 and the cursor goes out the Plotter view.
I can't figure out the problem.
Many thank's for help!
Nicola