Thanks everyone for the suggestions. This isn't my first Arduino project, but it is my first time using the AccelStepper library and I will keep the 12bit hardware in mind if what I'm planning on using doesn't work out. Here is a bit more info that might help what I'm trying to wrap my head around.
I know how to read the switches and pot inputs in the code, no issues there. The reason for having both indexed and manual operation is the user will use a slow speed via the pots input to move the turntable into an indexed position they want manually. Accel and decel will be turned off for manual control so the user doesn't overshoot the positioning he needs when the switch is released. He will need to have the pots set really low and speed really low for this fine adjustment. The Arduino will then output this position when stopped to serial monitor. The user will make note of the position(s), as many as he wants, and input these in and array in the code. The user can then reupload the code with his tailored positions to the Arduino. The user can then flip the switch and release in either direction and it with use Accel and Decel and move to that position. The user can still use manual control and the pots to test and set Maxspeed in the code. Another reason for indexing is to use the turntable with JMRI via the CMRI interface and have the turntable remotely controlled and not use the switch if the user chooses.
I have sketches for doing much of this, just need to combine them and again this isn't my first railroad Arduino project. My main issue with this library is the manual control portion of the turntable. From my reading the missing manual I'm not sure this library can have the stepper moving already non stop and have a speed adjustment implemented without it needing to stop first. The Arduino stepper library can do this quite easily in its example sketch. I'm looking for help for the code for using the manual control in this library so I can get Accel and decel for just the indexed portion.
Can I use both libraries in the same sketch? Can I use the Accelstepper for the indexed portion and the standard library for the manual control portion in the same sketch without issue?
I basically want to do the following below from the standard stepper example but in this Accelstepper library and also disabling Accel and Decel first so they can get an accurate index position reading for use in the indexed portion that will reenable and use Accel and Decel. I'm not understanding exactly how to go about this with this Accelstepper library.
void loop() {
// read the sensor value:
int sensorReading = analogRead(A0); // Read Pots value
// map it to a range from 0 to 100:
int motorSpeed = map(sensorReading, 0, 1023, 0, 100);
// set the motor speed:
if (motorSpeed > 5) {
myStepper.setSpeed(motorSpeed);
// step 1/100 of a revolution:
myStepper.step(stepsPerRevolution / 100);
}
}