extruder: Half-step on every step signal.

No idea why only every 4th step signal would actually step, but this generates a lot of noise for nothing.
This commit is contained in:
Markus Amsler 2011-02-21 15:52:15 +11:00 committed by Michael Moon
parent e3672da1cf
commit d0cbe86a2d
1 changed files with 2 additions and 2 deletions

View File

@ -79,12 +79,12 @@ ISR(PCINT0_vect) {
else
coil_pos--;
coil_pos &= 31;
coil_pos &= 7;
//Grab the latest motor power to use
pwm = motor_pwm;
switch(coil_pos >> 2) {
switch(coil_pos) {
case 0:
WRITE(H1D, 0);
WRITE(H2D, 0);