IRDistance2 (Revision C) Programming Table This is the programming table for the IRDistance2 (Rev. C) module.

IRDistance2 (Revision C) Programming Table

Command
Name
Action Bit Description
8 7 6 5 4 3 2 1 0
Raw_Get Send 0 0 0 0 0 0 0 0 s Get the raw distance for sensor {s}.
Receive 0 d d d d d d d d
Smooth_Get Send 0 0 0 0 0 0 0 1 s Get the the smoothed distance for sensor {s}.
Receive 0 d d d d d d d d
Linear_Get Send 0 0 0 0 0 0 1 0 s Get the the linear distance for sensor {s} measured in half centimeters.
Receive 0 d d d d d d d d

Copyright (c) 2009 by Wayne C. Gramlich. All rights reserved.