โปรแกรมของบอร์ด Motion
Dependencies: BEAR_Reciever Motor eeprom iSerial mbed
Fork of DogPID by
Diff: main.cpp
- Revision:
- 24:d4942687f026
- Parent:
- 21:1c04c4afe3b7
- Child:
- 25:c66a0d029e1f
diff -r 1c04c4afe3b7 -r d4942687f026 main.cpp --- a/main.cpp Tue Jan 26 18:05:51 2016 +0000 +++ b/main.cpp Tue Jan 26 18:32:29 2016 +0000 @@ -349,7 +349,7 @@ case MOTOR_UPPER_ANG: { uint8_t status; status =com.sendMotorPos(MY_ID,Upper_Position,Lower_Position); - printf("status = 0x%02x\n\r",status); + //printf("status = 0x%02x\n\r",status); break; } case UP_MARGIN: { @@ -389,6 +389,7 @@ break; } case ANGLE_RANGE_UP: { + com.sendUpAngleRange(MY_ID,Angle_Range_Up); break; }