tweaks and bugfixes

This commit is contained in:
Simen Svale Skogsrud
2009-01-29 09:58:29 +01:00
parent ac2e26fda9
commit a9d41c6c64
9 changed files with 75 additions and 62 deletions

View File

@ -24,10 +24,10 @@
#include <avr/io.h>
#include <avr/sleep.h>
#define STEPPER_STATE_STOPPED 0
#define STEPPER_STATE_RUNNING 1
#define STEPPER_STATE_LIMIT_OVERRUN 2
#define STEPPER_STATE_HOMING 3
#define STEPPER_MODE_STOPPED 0
#define STEPPER_MODE_RUNNING 1
#define STEPPER_MODE_LIMIT_OVERRUN 2
#define STEPPER_MODE_HOMING 3
// Initialize and start the stepper motor subsystem
void st_init();