Duet3D / DuetSoftwareFramework

Software framework for the next-generation Duet3D platform based on .NET
GNU General Public License v3.0
61 stars 28 forks source link

Decimal places in analog readings in SBC mode #187

Open T3P3 opened 1 year ago

T3P3 commented 1 year ago

In SBC mode, echo sensors.analog[0].lastReading prints all decimal places, instead of the number returned by EvaluateExpression

Need to pass back the number of decimal places to the SBC as well as the value. See DataTransfer.cpp(312).