converted the STEPPER_ENABLE_PIN to a STEPPER_DISABLE_PIN as per the request of Alden Hart of Grbl Shield fame.

This commit is contained in:
Simen Svale Skogsrud
2011-05-31 13:08:42 +02:00
parent 74dcf58c5c
commit c2aec12004
3 changed files with 26 additions and 21 deletions

5
main.c
View File

@ -20,6 +20,7 @@
#include <avr/io.h>
#include <avr/sleep.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "planner.h"
#include "stepper.h"
@ -44,7 +45,9 @@ int main(void)
st_init();
spindle_init();
gc_init();
limits_init();
limits_init();
sei();
for(;;){
sleep_mode(); // Wait for it ...