Welcome to the MindSqualls Site!
MindSqualls is a .Net 2.0 library for remote controlling your LEGO MINDSTORMS NXT
via a bluetooth connection. It is written in C# though it can be used with any of
the .Net programming languages.
Offers full support for all direct commands. Support of the HiTechnic Compas sensor,
the HiTechnic Color sensor, and the HiTechnic NXT Acceleration / Tilt Sensor. Compiles
under the Compact Framework i.e. can run from a PDA.
Completely free of charge. With full source code. And well documented.
Latest news
5 June 2007: Version 1.2 beta 1 released. Now able to run under the Compact Framework
(i.e. on a PDA). Support for the HiTechnic NXT Acceleration / Tilt Sensor. Keepalive timer added to
the NxtBrick-class. Various bugfixes. Code generally hardened.
Example code
// Create a NXT brick on COM40.
NxtBrick brick = new NxtBrick(40);
// Attach motors to port B and C on the NXT.
brick.MotorB = new NxtMotor();
brick.MotorC = new NxtMotor();
// Connect to the NXT.
brick.Connect();
// Run them at 75% power, for a 3600 degree run.
brick.MotorB.Run(75, 3600);
brick.MotorC.Run(75, 3600);
// Disconnect from the NXT.
brick.Disconnect();
|