Skip to content

Commit

Permalink
fix stepper pin assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
mnemote committed Jun 4, 2016
1 parent dfb5ea0 commit 68c7979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp8266/vm/virtual.c
Expand Up @@ -25,8 +25,8 @@ typedef struct stepper_s {
int8_t drive;
} stepper_t;

stepper_t step_left = { 13, 14, 15, 12, 0, 0 };
stepper_t step_right = { 0, 5, 4, 2, 0, 0 };
stepper_t step_left = { 15, 12, 14, 13, 0, 0 };
stepper_t step_right = { 2, 4, 0, 5, 0, 0 };

void stepper_update(stepper_t *x) {
if (x->drive > 0) x->phase++;
Expand Down

0 comments on commit 68c7979

Please sign in to comment.