Skip to content

Commit ab73132

Browse files
authored
Fix encoder error.
1 parent 5e0ca8e commit ab73132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mycobot.csharp/MyCobot.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public void SendCoords(int[] coords, int speed, int mode)
279279
/// <returns>int[], length: 6</returns>
280280
public int[] GetCoords()
281281
{
282-
byte[] command = {0xfe, 0xfe, 0x02, 0x23, 0xfe};
282+
byte[] command = {0xfe, 0xfe, 0x02, 0x23, 0xfa};
283283
Write(command, 0 ,command.Length);
284284

285285
Thread.Sleep(200);

0 commit comments

Comments
 (0)