View Single Post
  #8   Spotlight this post!  
Unread 06-01-2003, 00:07
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Quote:
Originally posted by Dave Flowerday
Unfortunately this isn't necessarily true. We just verified earlier this week that all digital inputs are not sampled by the RC at the same time, so if you connect the sensor up like this it is possible that you will read both 1s or both 0s.

What we did to check this is to wire 8 digital inputs together to a momentary switch. We then modified our 2002 software to output the values of the switches using debug. Just manually flicking the switch by hand rapidly will result in one sample every few seconds that isn't 0xFF or 0x00, but is a random bit pattern.
Interesting. I guess this means there is no point to using both. Oh well, that just means more available digital inputs!
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php