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:
parent
74dcf58c5c
commit
c2aec12004
3 changed files with 26 additions and 21 deletions
5
main.c
5
main.c
|
|
@ -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 ...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue