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.