added segmented arc support with configurable segmentation

This commit is contained in:
Simen Svale Skogsrud
2010-03-03 01:39:44 +01:00
parent df243d2490
commit 49ca861dc0
5 changed files with 28 additions and 3 deletions

View File

@ -50,7 +50,6 @@
#define Y_DIRECTION_BIT 4
#define Z_DIRECTION_BIT 5
#define LIMIT_DDR DDRD
#define LIMIT_PORT PORTD
#define X_LIMIT_BIT 3
@ -65,6 +64,8 @@
#define SPINDLE_DIRECTION_PORT PORTD
#define SPINDLE_DIRECTION_BIT 7
#define MM_PER_ARC_SEGMENT 0.1
#define BAUD_RATE 9600
#define STEP_MASK ((1<<X_STEP_BIT)|(1<<Y_STEP_BIT)|(1<<Z_STEP_BIT))