added support for limit switches and homing action

This commit is contained in:
Simen Svale Skogsrud
2011-02-20 00:29:56 +01:00
parent 9c8c259153
commit d5d6298de3
11 changed files with 158 additions and 8 deletions

4
main.c
View File

@ -27,6 +27,7 @@
#include "motion_control.h"
#include "gcode.h"
#include "protocol.h"
#include "limits.h"
#include "settings.h"
#include "wiring_serial.h"
@ -42,7 +43,8 @@ int main(void)
plan_init();
st_init();
spindle_init();
gc_init();
gc_init();
limits_init();
for(;;){
sleep_mode(); // Wait for it ...