Home / Programming / C# / Mindsqualls is Back from the Dead!

Mindsqualls is Back from the Dead!


After a prolonged hibernation period, the Mindsqualls project is back from the dead and version 2.0 has been released. I was using an older version in my super secret Kinect project, so it is nice to see that is being maintained again.

Mindsqualls is one of the easiest to use .Net library for controlling your NXT using C# or VB.Net. Just to show you how easy, here’s a snippet of code taken from the project’s website:

// Create a NXT brick,
// and use Bluetooth on COM40 to communicate with it.
NxtBrick brick = new NxtBrick(NxtCommLinkType.Bluetooth, 40);

// Attach motors to port B and C on the NXT.
brick.MotorB = new NxtMotor();
brick.MotorC = new NxtMotor();

// Connect to the NXT.

// Run the motors at 75% power, for a 3600 degree run.
brick.MotorB.Run(75, 3600);
brick.MotorC.Run(75, 3600);

// Disconnect from the NXT.

So if you’re using Visual Studio and would love to control your NXTs via your favourite programming language, I can really recommend this framework.

About Xander

Xander Soldaat is a Software Engineer and former Infrastructure Architect. He loves building and programming robots. He recently had the opportunity to turn his robotics hobby into his profession and has started working for Robomatter, the makers of ROBOTC and Robot Virtual Words.