Hi, I’m trying to use an NXT Ultrasonic Sensor with an EV3 brain. According to the documentation, I should use the following:
var brain = new Brick<Sensor, Sensor, Sensor, Sensor>("com6"); //set up brick
brain.Connection.Open(); //connect to brick
brain.Sensor1 = new UltrasonicSensor();
However, trying this brings up a compile error:
MonoBrick.EV3.UltrasonicSensor is inaccessible due to its protection level
MonoBrick.EV3.UltrasonicSensor has no constructors defined
I have linked the communication library .dll properly, as tab completion is working (Visual Studio 2013), and creating the brick object works fine. Is there something I’m missing to get this sensor working?