I don't know how to do that . I use these code ,but it didn't work...
WriteByte(100,P_IR_OBSTACLE_DETECTED,0);//100 is the ID of the AX-S1
It seems that the P_IR_OBSTACLE_DETECTED cannot be changed ,neither could the P_IR_DETECT_COMPARE .
Actually I don't know what are these two parametres used for , I just thought they may have some relationship with the problem - -
?Thanks for your help.