File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Software/Arduino code/OpenAstroTracker_v1.2.4 Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 13
13
14
14
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.
15
15
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
17
17
18
18
float RevSteps = 4096 ;
19
19
// This is how many steps your 28BYJ-48 stepper needs for a full rotation. It is almost always 4096.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ void loop() {
5
5
// speedcalibration += inputcal / 1000;
6
6
float trackingspeed = ((((335.1417 / 24 ) / 12 ) * RevSteps) / 3590 ) - 1 + float (speedcalibration);
7
7
8
- float onehour = float ( float (RAsteps / 24 ) / 12 ) * RevSteps ;
8
+ float onehour = RevSteps * ( (RAsteps) / 288 ) ;
9
9
moveRA = (hourRA * onehour + minRA * (onehour / float (60 )) + secRA * (onehour / float (3600 ))) / 2 ;
10
10
moveDEC = (degreeDEC * float (164 ) + minDEC * (float (164 ) / float (60 )) + secDEC * (float (164 ) / float (3600 ))) / 2 ;
11
11
You can’t perform that action at this time.
0 commit comments