C# Mine
ContentsIndexHome
PreviousUpNext
UltrasonicBase.CalibrateFrame Method

Generate the calibration command frame to send to the sensor.

Syntax
C#
public static byte[] CalibrateFrame(long sensorID, int actualValue, int measuredValue, int queueID);
Parameters 
Description 
long sensorID 
Numeric identifier of sensor 
int actualValue 
Desired value 
int measuredValue 
Last reported value 
int queueID 
Incrementing integer to validate receipt of multiple messages. (Random typically sufficient) 

Byte array with sensor level command for calibration

Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!