BlitzMax & Lego Mindstorms NXT

BlitzMax Forums/BlitzMax Programming/BlitzMax & Lego Mindstorms NXT

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Diordna,

I intend to release whatever comes out of this as a module for everyone. The main problem at the moment is the communication with the brick, which I simply cannot get to work.

With the new NXT brick, there are two ways to program it. It can either be "remote controlled", which is what iCommand is doing, or you can compile a program to the VM of the brick and its byte code language. The latter is what you would want to do with an own NQC-like implementation.

Like the guys from the leJOS project, I wanted to start with the seemingly simpler thing, the "remote control" option. It only has a few and quite simple commands and is not much of a "black magic voodoo" thing -- once you get past the communication issue.

But initializing and using the BlueTooth serial port in the right way is giving me headaches. And I am listening to my girl friend's advice: "Instead of wasting your time thinking about how to program in Java, you should concentrate on drinking some Java." I never got a grip on that strange curley braces language, so I guess she's right. ;-)