Thread: Switches...
View Single Post
  #7   Spotlight this post!  
Unread 10-02-2004, 23:04
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: Switches...

Quote:
Originally Posted by Alan Anderson
You would have to make sure not to try to read the switch after autonomous mode kicks in, as the OI inputs are not passed through then.
there is that. however, one could simply put the code to read the sensor in Process_Data_From_Local_uP (or Process_Data_From_Master_uP) - thus, once the robot goes into autonomous mode, Process_Data_From_Local_uP is no longer called, and thus the switch value read will not be overwritten.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)