I2C Sensor Timeout Exception

HomeForumsMonoBrick Communication LibraryI2C Sensor Timeout Exception

This topic contains 0 replies, has 1 voice, and was last updated by Author Image Gerard Pounder 3 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4377
    Author Image
    Gerard Pounder
    Participant

    What can be done to reduce the frequency of I2C Sensor Timeout Exceptions? I’m controlling a Mindstorms NXT 2.0 with Monobrick 1.3. My laptop is a Lenovo T61 dual core running Windows 7. I’m using “System.Threading.Thread.Sleep(xxx)” to allow time for the readings to be taken. I’m using a “xxx” value of between 250 and 2500. When this problem arises, sometimes it works without problems, at other times the system returns zero values where the values are not zero and at other times it generates exceptions. It occurs particularly with the NXT sonar and sound sensors

    Any help will be much appreciated. Thanks in advance

    Gerard

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Posted in

Make a donation