next up previous contents
Next: Get the beacon listing Up: Serial Port Command Interface Previous: Test switch status (TB)   Contents

Get/Put display units (UN)

The display units parameter is used to set or get the units used to display the information reported by the Cricket over the command interface. The command take two parameters: the first one is the distance units and the second the temperature units. The distance units can be ``1'', meaning Metric (centimeters), or ``2'', meaning Imperial (inches). The temperature can be ``1'', in degrees Celsius or ``2'', degrees Fahrenheit. When queried, the command returns the current settings.

Example (put Imperial and Celsius units):
P UN 2 1<return>
UN Imperial and Celsius

Note: The default setting of the units is ``Metric'' and ``Celsius''.

Michel Goraczko 2004-12-02