Skip to content

Commit ec9d6e4

Browse files
Lowered LCD screen update frequency
1 parent 6c77ae9 commit ec9d6e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Software/Arduino code/OpenAstroTracker/c6_moveTo.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ bool stopStepper(int mask, bool useRA) {
5151
// Displays a percentage progress
5252
void moveSteppersToTarget() {
5353

54-
int displaySkip = 400; // Update the LCD every 400 iterations (perf issue)
54+
int displaySkip = 800; // Update the LCD every 400 iterations (perf issue)
5555
int display = 0;
5656

5757
float decTotal = 1.0f * abs(stepperDEC.distanceToGo());
@@ -114,7 +114,7 @@ void moveSteppersToTargetAsync() {
114114
}
115115

116116
lcdMenu.printMenu(disp);
117-
controlDisplay = 250; // Update the LCD every 250 iterations (perf issue)
117+
controlDisplay = 500; // Update the LCD every 250 iterations (perf issue)
118118
}
119119
controlDisplay --;
120120
}

0 commit comments

Comments
 (0)