blob: ce6113dc9c3b4383c3c287d3f40387a4310d4f09 (
plain)
1
2
3
4
5
6
7
|
SAP 6 , 0 , 255 // Set run current
SAP 7 , 0 , 8 // Set standby current
SAP 254 , 0 , 1 // Activate step / direction mode
SAP 140 , 0 , 4 // 16 microsteps
SAP 160 , 0 , 1 // Activate step interpolation (only works with 16 microsteps)
SAP 161 , 0 , 1 // Activate double step
STOP // End of this program
|