|
Re: global variables and autonomous independent
One way is to read the analog slider and wire it to the case structure. The value will automatically be converted to an integer and you can add cases for 1, 2, and 3.
Set the slider on the DS, run the autonomous, and put something in your code, like a breakpoint or probe so you can verify the right code is running.
Greg McKaskle
|