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:
parent
e3672da1cf
commit
d0cbe86a2d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue