Reply To: Read any sensor on NXT 2

HomeForumsMonoBrick Communication LibraryRead any sensor on NXT 2Reply To: Read any sensor on NXT 2

#5438
Author Image
Tcm0
Participant

Can you try it with the following code:

var brick = new Brick<Sensor, Sensor, Sensor, Sensor>("usb");
brick.Connection.Open();

brick.Sensor1 = new TouchSensor();
Console.WriteLine(brick.Sensor1.ReadAsString());
  • This reply was modified 1 year, 11 months ago by Author Image Tcm0.
Posted in

Make a donation