Skip to content

Commit 742bb55

Browse files
V1.6.59 - Updates
- Corrected the DEC pin order to correspond to the wiring diagram for the Mega
1 parent 42de738 commit 742bb55

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Software/Arduino code/OpenAstroTracker/OpenAstroTracker.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
#include "Globals.h"
1818

19-
String version = "V1.6.58";
19+
String version = "V1.6.59";
2020

2121
///////////////////////////////////////////////////////////////////////////
2222
// Please see the Globals.h file for configuration of the firmware.

Software/Arduino code/OpenAstroTracker/a_inits.ino

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,15 @@
103103

104104
// DEC Motor pins
105105
#ifdef INVERT_DEC_DIR
106-
#define DECmotorPin1 30 // IN1 auf ULN2003 driver 2
107-
#define DECmotorPin3 32 // IN2 auf ULN2003 driver 2
108-
#define DECmotorPin2 34 // IN3 auf ULN2003 driver 2
109-
#define DECmotorPin4 36 // IN4 auf ULN2003 driver 2
110-
#else
111106
#define DECmotorPin1 36 // IN1 auf ULN2003 driver 2
112107
#define DECmotorPin3 34 // IN2 auf ULN2003 driver 2
113108
#define DECmotorPin2 32 // IN3 auf ULN2003 driver 2
114109
#define DECmotorPin4 30 // IN4 auf ULN2003 driver 2
110+
#else
111+
#define DECmotorPin1 30 // IN1 auf ULN2003 driver 2
112+
#define DECmotorPin3 32 // IN2 auf ULN2003 driver 2
113+
#define DECmotorPin2 34 // IN3 auf ULN2003 driver 2
114+
#define DECmotorPin4 36 // IN4 auf ULN2003 driver 2
115115
#endif
116116
#endif
117117

0 commit comments

Comments
 (0)