To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 329
328  |  330
Subject: 
Rotation sensors?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 20 Jul 1999 14:34:46 GMT
Viewed: 
1108 times
  
Hello,

Rotation sensors appear to be broken in the 990330
snapshot. Here's part of the code I'm using:

  ds_active(&SENSOR_3);
  ds_rotation_on(&SENSOR_3);
  ds_rotation_set(&SENSOR_3, 0);

  while (!PRESSED(button_state(), BUTTON_VIEW)) {
    lcd_int(ROTATION_3);
    lcd_refresh();
    msleep(20);
  }

Is this a known problem?

Thanks,
Jonathan



Message has 1 Reply:
  Re: Rotation sensors?
 
Yep, others have reported having these problems. Here's a fix I came up with, but has also only been tested on my system. There have been reports that the existing code works for some, and not for others, so you may need to customize this. just (...) (25 years ago, 20-Jul-99, to lugnet.robotics.rcx.legos)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR