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

View File

@ -40,7 +40,7 @@
#define Z_DIRECTION_BIT 7
#define LIMIT_DDR DDRB
#define LIMIT_PORT PORTB
#define LIMIT_PIN PINB
#define X_LIMIT_BIT 1
#define Y_LIMIT_BIT 2
#define Z_LIMIT_BIT 3