stepper con potenziometro: le velocità non cambiano..

hai letto la spiegazione delle varie funzioni?????

dal momento che usi long per setmaxspeed, forse, no perche sembra voglia:

Sets the desired constant speed for use with runSpeed().

Parameters
[in] speed The desired constant speed in steps per second. Positive is clockwise. Speeds of more than 1000 steps per second are unreliable. Very slow speeds may be set (eg 0.00027777 for once per hour, approximately. Speed accuracy depends on the Arduino crystal. Jitter depends on how frequently you call the runSpeed() function.

da notare cosa dice per numeri maggiori di 1000 :wink:

http://www.airspayce.com/mikem/arduino/AccelStepper/classAccelStepper.html

prova a vedere se cioò ti aiuta