I2C sensorI2CCustomFastSkipStates sensor type
Page 1 of 1

Author:  mightor [ Fri Aug 29, 2008 5:58 am ]
Post subject:  I2C sensorI2CCustomFastSkipStates sensor type

Hey developers, this one's for you.

What exactly does the sensorI2CCustomFastSkipStates imply? Does it simply not update nI2CStatus ? I am looking to push my MAX127 ADC to the, err, MAX. With my driver I get the following results:

Normal: 143 ADC readings per second (sensorI2CCustom)
Faster: 333 ADC readings per second (sensorI2CCustomFast)
Fastest: 500 ADC readings per second. (sensorI2CCustomFastSkipStates)


Author:  Dick Swan [ Wed Sep 17, 2008 9:45 pm ]
Post subject:  Re: I2C sensorI2CCustomFastSkipStates sensor type

I've already answered this via private communications with Xander.

ROBOTC has three speeds of I2C messages.
  1. Standard speed is for compatability with LEGO's Ultrasonic sensor and AFAIK is the only speed available in any of the other NXT firmwares.
  2. Fast is about 2.5 times faster. This is achieved using a faster clock for I2C messages and for shrinking the sizes of some of the pulses.
  3. Skip states eliminates some wait states that are required by the Ultrasonic sensor and one of the 3rd party sensors. This is slightly faster again.
    In general, 3rd party sensors can use the fastest speed.

Author:  mightor [ Thu Sep 18, 2008 2:18 am ]
Post subject:  Re: I2C sensorI2CCustomFastSkipStates sensor type

Also, as of RobotC 1.43B1, the above mentioned speeds now also have their 9V counterpart, so you can use it with your HiTechnic ProtoBoard. Note that HT does not officially support this speed, though.


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