Reply To: Error sending brick command

HomeForumsMonoBrick Communication LibraryError sending brick commandReply To: Error sending brick command

#4996
Author Image
Oleg Stepanow
Participant

I`m using your TestApplication
I just entered some traces for debugging.

Console.WriteLine(1);
var brick = new Brick<Sensor,Sensor,Sensor,Sensor>(“usb”);
sbyte speed = 0;
Console.WriteLine(2);
brick.Connection.Open();
Console.WriteLine(3);
brick.MotorA.On(20);
Console.WriteLine(4);

it comes to tracing 3 and after throughs error (when I send command to MotorA)
I tried different motors and other commands, all the same.
Before I also had trouble like this http://www.monobrick.dk/forums/topic/fail-to-connect-ev3-via-usb/
But i fixed it the same way as posted there.

Posted in

Make a donation