View unanswered posts | View active topics It is currently Fri Aug 14, 2020 2:09 pm

Reply to topic  [ 1 post ] 
Released: ROBOTC Driver Suite V1.2 
Author Message
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post 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]].

| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Thu Dec 10, 2009 12:44 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.