Home→Forums→MonoBrick Communication Library→Error sending brick command→Reply To: Error sending brick command
November 23, 2014 at 19:39
#4996

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.
Follow