diff --git a/servo_firmware/mx28/src/mx28_fw.c b/servo_firmware/mx28/src/mx28_fw.c index 9f343e419e43a983c4451f747bfdb3a4a8c3ca0c..c6a53237a7f3d0c0cc267b9f8208bbc474a9937e 100755 --- a/servo_firmware/mx28/src/mx28_fw.c +++ b/servo_firmware/mx28/src/mx28_fw.c @@ -144,7 +144,12 @@ int main(void) while(1) { - if(dyn_slave_is_packet_ready())// check if a new instruction packet has been received + + /* GPIO_ResetBits(GPIOA,GPIO_Pin_13); // LED ON + delay_ms(300); + GPIO_SetBits(GPIOA,GPIO_Pin_13); // LED OFF + delay_ms(300);*/ + /*if(dyn_slave_is_packet_ready())// check if a new instruction packet has been received { dyn_slave_get_inst_packet(inst_packet);// get the received packet // check the packet checksum @@ -165,7 +170,7 @@ int main(void) // send a checksum error answer dyn_slave_send_status_packet(DYN_CHECKSUM_ERROR,0,0x00); } - } + } */ /*else { GPIO_ResetBits(GPIOA,GPIO_Pin_13); delay_ms(300);