Skip to content

Commit fae4b30

Browse files
author
openastrotech
committed
some stuff
1 parent 6f91162 commit fae4b30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Software/Arduino code/OpenAstroTracker_v1.2.4/OpenAstroTracker_v1.2.4.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
float speed = 1.000; // Use this value to slightly increase or decrese tracking speed. The values from the "CAL" menu will be added to this.
1515

16-
int RAsteps = 320; // 335.1417 // adjust this value to calibrate RA movement
16+
float RAsteps = 330; // 335.1417 // adjust this value to calibrate RA movement
1717

1818
float RevSteps = 4096;
1919
// This is how many steps your 28BYJ-48 stepper needs for a full rotation. It is almost always 4096.

Software/Arduino code/OpenAstroTracker_v1.2.4/c_buttons.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ void loop() {
55
//speedcalibration += inputcal / 1000;
66
float trackingspeed = ((((335.1417 / 24) / 12) * RevSteps) / 3590) - 1 + float(speedcalibration);
77

8-
float onehour = float(float(RAsteps / 24) / 12) * RevSteps;
8+
float onehour = RevSteps * ((RAsteps) / 288);
99
moveRA = (hourRA * onehour + minRA * (onehour / float(60)) + secRA * (onehour / float(3600))) / 2;
1010
moveDEC = (degreeDEC * float(164) + minDEC * (float(164) / float(60)) + secDEC * (float(164) / float(3600))) / 2;
1111

0 commit comments

Comments
 (0)