View Single Post
  #3   Spotlight this post!  
Unread 14-04-2006, 00:41
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Can't get auto mode to run with OI switches

Quote:
Originally Posted by kiettyyyy
I have a potentiometer with detents that is mounted on the oi controller.

I have no idea whats going on.. I set up a static int newautoselect inside user_control.h,

why doesnt auto mode pick this up?
Also, use "extern int newautoselect;" in the header,
and use "int newautoselect = 0;", outside of any routine,
in one of the files that the header is included in. If you
use "static int newautoselect;" in the header a different
instance of newautoselect is what you will get in each file the
header is included in and desired communication will not occur.