Loopcount.nbc (written by Michael Anderson) demonstrates how to start multiple threads and play tones.Teach your robot new tricks! With this projects-based approach you can program your Mindstorms NXT robot to solve a maze, build a house, run an obstacle course, and many other activities. Random_Gen.nbc (written by ) demonstrates calling the RandomNumber system function. Compass2.nbc demonstrates reading data from the new compass sensor.
This code demonstrates many important NBC programming techniques including multi-threading, using preprocessor macros, using subroutines, controlling motors, reading various sensors, and displaying graphics on the NXT screen.
It demonstrates using arrays as well as using the compile-time function evaluator with PI, sin, and cos.
- This zip contains a short but very cool program written by which draws a series of lines on the NXT screen.It defines some terrific math functions: SIN, COS, ASIN, ACOS, and SQRT. - This zip contains math.nbc which is a file you can #include in your own programs.It's a really cool example of what you can do with NBC! - Back in early August, Takuya Matsubara posted a video on youTube of him playing a game sort of like tetris on an NXT.I shortened the beep and made it a bit quieter. This zip contains a slightly tweaked version of his original sourcecode. It's another great example of the capabilities exposed to programers using NBC. - recently posted a very cool program which lets you play tic-tac-toe on your NXT.This version draws about 10 times faster, although the speed depends heavily on the number of live cells on the screen. That version drew frames at about 7 seconds per frame. I rewrote a version that was originally mentioned in the forums. - This zip contains a version of the classic life simulator written in NBC.The behavior of NXT Programs executing on the brick using this replacement is not exactly the same as when the original RPGReader.sys is used but it is very close. The compiled.sys executable is ~2.5kb rather than ~14.3kb. - This zip contains an RPGReader.sys replacement program written in NBC.
3 x 48mm Omni Wheel for LEGO NXT and Servo Motor. Lego Mindstorm Nxt Alpha Rex Building Instructions Lego Mindstorms.