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 / 3610
3609  |  3611
Subject: 
Sensor Power
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 5 Jan 2004 21:58:19 GMT
Viewed: 
3334 times
  
ok, I have a real question.

I'm interested in sending messages between RCXs using only the sensor ports.

I've tested and found by switching between active and passive, signals can be
sent, however, when the port is set to active, it is not powered 100% of the
time (power is turned off to read sensor).

Is there a way to switch the power on, and keep it on, until I wish to switch it
off?

Also, I only want this change to affect one sensor port, not all three.

Finally, can someone tell me how long the sensor power is off, when reading an
active sensor?

Thanks
Steve



Message has 1 Reply:
  Re: Sensor Power
 
(...) Take a look at the functions ds_power_on() & ds_power_off() as defined in the dsensor.c kernel file. When you've set the sensor to passive mode, you should be able to manipulate the sensor power bits using these functions[1] or just use the (...) (20 years ago, 6-Jan-04, to lugnet.robotics.rcx.legos)

2 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