Archive for category: NXC

  • Disco Inferno Part II

    NXC, Sensors June 9, 2011 04:24 1 comment

    Sidneys1 has come up with an improved version of my own Disco Inferno, written in NXC. His article has a great explanation of what PWM is and how it works. So if you’re keen to know the finer details about how RS485 can be used to control the brightness of […]

     
  • NXC Driver for dGPS

    NXC, Sensors November 26, 2010 20:33 7 comments

    I made a port of the ROBOTC driver to NXC.  The function calls are pretty much identical. The zip file includes the driver and a test program. You can download it here: [LINK].  Enjoy!

     
  • Coming Soon…(If All Goes Well That Is)

    NXC, Ramblings, Sensors August 28, 2010 20:44 21 comments

    Thanks to a very generous person named Thorsten on the ROBOTC forums I am now the proud owner of A RCX 2.0 brick An IR Tower An RCX remote control (not pictured) A USB<->Serial converter I’ve been asked in the past to add support to my ROBOTC drivers for communicating […]

     
  • Lego E-Meter Drivers

    NXC, ROBOTC, Sensors August 23, 2010 21:16 1 comment

    Yesterday and today I’ve played a bit with the upcoming E-Meter from the Renewable Energy Add-on Set and whipped up both ROBOTC and NXC drivers for it.  The NXC driver you can find linked below, the ROBOTC driver will be part of the next release of the Driver Suite. You […]

     
  • Official NXT Firmware 1.29 Sources Available at LEGO

    NXC, Ramblings April 25, 2010 06:37 7 comments

    No big announcement from the LEGO side, but it seems that the source code for the 1.29 firmware is now available at the LEGO website.  You can download it right here: [LINK].  As per usual, the naming standard of LEGO’s downloadable files will make identifying the file super easy. In […]

     
  • Released: NXC driver for HiTechnic Sensor MUX

    NXC, Sensors April 9, 2010 12:35 13 comments

    This NXC driver for the HiTechnic Sensor MUX has SMUX-equivalents of all the standard NXC functions for the supported sensors.  For example, to read the HiTechnic Colour Sensor without the SMUX, you’d use ReadSensorHTColor().  The SMUX version is called smuxReadSensorHTColor() and has pretty much the same arguments. I’ve also added […]

     
  • Power Programming – Robotics in C

    NXC December 20, 2009 17:17 8 comments

    I received my copy of John Hansen’s “Power Programming – Robotics in C”, second edition, a few weeks ago and I’ve read the whole thing. It’s a big book, a little over 540 pages, so it took me some time.  One of the coolest thing I like about this book […]

     
  • HiTechnic SMUX Tutorial

    NXC, ROBOTC, Tutorials November 23, 2009 16:32 6 comments

    The HiTechnic Sensor Multiplexer (SMUX) is a complex sensor that requires a fair amount of intimate knowledge of its operation in order to use it.  The tutorial has both ROBOTC and NXC examples.  Please note that error checking for all the I2C calls is outside the scope of this tutorial.  […]