Skip to content
Snippets Groups Projects
Commit 5d73f99d authored by Patrick John Grosch Obregon's avatar Patrick John Grosch Obregon
Browse files

pgrosch - Existen perdidas de paquetes de en patalab pocos- se sube version para coregir - ax12

parent 807b37fc
No related branches found
No related tags found
No related merge requests found
...@@ -73,6 +73,7 @@ int16_t main(void) { ...@@ -73,6 +73,7 @@ int16_t main(void) {
LedOFF(PD2); LedOFF(PD2);
while (1) { while (1) {
//LedOFF(PD2);
status = RxRS485Packet(&id, &instruction, &length, data); status = RxRS485Packet(&id, &instruction, &length, data);
if (status == CHECK_ERROR) { if (status == CHECK_ERROR) {
TxRS485Packet(rs485_address, CHECKSUM_ERROR, 0, NULL); TxRS485Packet(rs485_address, CHECKSUM_ERROR, 0, NULL);
...@@ -117,7 +118,7 @@ int16_t main(void) { ...@@ -117,7 +118,7 @@ int16_t main(void) {
break; //................................................ break; //................................................
case 2: // case WORD case 2: // case WORD
LedTOGGLE(PD2); //LedTOGGLE(PD2);
TxRx_Read_word_Dynamixel_RAM(data[0], answer); TxRx_Read_word_Dynamixel_RAM(data[0], answer);
break; //................................................ break; //................................................
default: default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment