3 # This script checks the order of values read from HAL sensors when motor
4 # rotates two turns in one directrion and two turns in the oposite direction.
8 stty -F $D -crtscts -ixon -ixoff 19200
19 awk '{ if ($2 != last) { printf("* %05d 0x%02x (%s)\n",$1,$2,$0); last=$2; }}' < $D