Thanks for your work on this!
I'm new to Arduino, but your code makes sense so far apart from a few things...
My current Loop (test) code is:
ramp(false, 1200);
dw(13,HIGH);
degrpmslowCool4(false, 3.6, 1200);
I'd expect this to ramp up, then when the LED comes on to do one rotation - I assumed "deg100" is the number of degrees divided by 100. But it spins round more than that (around 2 times ish).
Can you clarify how the values work? My eventual goal for my project is to get the motor rotating at a known speed (doesn't need to be fast, a few RPM is enough, but I do need to know the speed is reasonably accurate; i.e. whatever function to run at a consistent 6rpm would be fine)
EDIT
Actually, just having this command in my loop:
degrpmEZ(false,90,1200);
Will leave the motor just spinning forever- so I guess the "deg100" is not what I think it is. And if my loop only has degrpmslowCool4(false, 3.6, 1200); in it, the motor never even moves..?