forked from zlakomanoff/grbl-cnc-2417
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpu_map.h.patch
31 lines (29 loc) · 1.47 KB
/
cpu_map.h.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Index: grbl/cpu_map.h
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- grbl/cpu_map.h (revision 5967839ab38f8e984a384db1f64e781cffb9e739)
+++ grbl/cpu_map.h (revision )
@@ -36,17 +36,17 @@
// Define step pulse output pins. NOTE: All step bit pins must be on the same port.
#define STEP_DDR DDRD
#define STEP_PORT PORTD
- #define X_STEP_BIT 2 // Uno Digital Pin 2
- #define Y_STEP_BIT 3 // Uno Digital Pin 3
- #define Z_STEP_BIT 4 // Uno Digital Pin 4
+ #define X_STEP_BIT 3 // Uno Digital Pin 3
+ #define Y_STEP_BIT 5 // Uno Digital Pin 5
+ #define Z_STEP_BIT 7 // Uno Digital Pin 7
#define STEP_MASK ((1<<X_STEP_BIT)|(1<<Y_STEP_BIT)|(1<<Z_STEP_BIT)) // All step bits
// Define step direction output pins. NOTE: All direction pins must be on the same port.
#define DIRECTION_DDR DDRD
#define DIRECTION_PORT PORTD
- #define X_DIRECTION_BIT 5 // Uno Digital Pin 5
- #define Y_DIRECTION_BIT 6 // Uno Digital Pin 6
- #define Z_DIRECTION_BIT 7 // Uno Digital Pin 7
+ #define X_DIRECTION_BIT 2 // Uno Digital Pin 2
+ #define Y_DIRECTION_BIT 4 // Uno Digital Pin 4
+ #define Z_DIRECTION_BIT 6 // Uno Digital Pin 6
#define DIRECTION_MASK ((1<<X_DIRECTION_BIT)|(1<<Y_DIRECTION_BIT)|(1<<Z_DIRECTION_BIT)) // All direction bits
// Define stepper driver enable/disable output pin.