Released: ROBOTC Driver Suite V1.2
Page 1 of 1

Author:  mightor [ Thu Dec 10, 2009 12:44 pm ]
Post subject:  Released: ROBOTC Driver Suite V1.2

A new version (1.2) of the ROBOTC driver suite awaits your download from the usual [url=""]source[/url].

Lots of internal changes in this version. I’ve been working on removing all the work-arounds that were necessary for ROBOTC pre-2.0 when there was no unsigned byte type. Only ROBOTC 2.00 or higher is supported by this version. The upgrade is free, so there is no reason not to download and install this.

A lot of work has gone into improving the documentation in the code.

Changes for this version include:
  • Changed minimal requirement from 1.46 to 2.00
  • Added more comments

All drivers:
  • set #pragma systemFile to remove warnings of unused functions
  • Use new calls in common.h that don't require SPORT/MPORT macros

New test/samples programs:
  • HTDIR-SMUX-test1.c: Newly added for HT IR Seeker V2 through SMUX
  • HTEOPD-SMUX-test1.c: Newly added for HT EOPD through SMUX
  • HTGYRO-SMUX-test1.c: Newly added for HT Gyro through sMUX
  • HTMC-SMUX-test1.c: Newly added for HT Compass through SMUX
  • LEGOTS-SMUX-test1.c: Newly added for Lego Touch sensor through SMUX
  • LEGOTS-test1.c: Newly added for Lego Touch sensor

New drivers:
  • drivers/LEGOTS-driver.h: Newly added driver for Lego Touch sensor

  • Fixed massive bug in HTACreadAllAxes() in the way values are calculated

  • added bool HTSMUXsetMode(tSensors link, byte channel, byte mode)
  • added int HTSMUXreadAnalogue(tMUXSensor muxsensor)
  • added HTSMUXSensorType HTSMUXreadSensorType(tMUXSensor muxsensor)
  • added bool HTSMUXreadPort(tMUXSensor muxsensor, tByteArray &result, int numbytes, int offset)
  • added bool HTSMUXreadPort(tMUXSensor muxsensor, tByteArray &result, int numbytes)
  • added bool HTSMUXsetMode(tMUXSensor muxsensor, byte mode)
  • added bool HTSMUXsetAnalogueActive(tMUXSensor muxsensor)
  • added bool HTSMUXsetAnalogueInactive(tMUXSensor muxsensor)
  • corrected function description for HTSMUXSensorType()
  • Removed unnecessary read from HTSMUXsendCommand()

drivers/HTCS2-driver.h drivers/HTDIR-driver.h:
  • Removed usage of ubyteToInt();

  • Changed HTIRRreadChannel() proto to use signed bytes like function.

  • Replaced hex values in calibration functions with #define's

drivers/LEGOLS-driver.h drivers/LEGOSND-driver.h:
  • Make use of new calls for analogue SMUX sensors in common.h

  • Added defines for ranges (MSAC_RANGE_2_5 ... MSAC_RANGE_10)
  • Removed ubyteToInt() calls.

  • Fixed line number in display functionality

  • Use clip() instead of manual clipping

The drivers’ website is here: [[url=""]LINK[/url]].
The documentation can be found here: [[url=""]LINK[/url]].
You can download the software from the Source Forge page here: [[url=""]LINK[/url]].

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group