Skip to content

Commit 03a0f72

Browse files
authored
Merge pull request #1551 from adafruit/dherrada-patch-1
Moved to sidereal days
2 parents e5121f0 + 75f58fb commit 03a0f72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Astrophotography_Tracker/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
microsteps = 64 # Microstepping resolution
1111
total_steps = steps * microsteps # Total microsteps per revolution
1212

13-
wait = 1/ ((gear_ratio * total_steps) / 86400)
13+
wait = 1/ ((gear_ratio * total_steps) / 86164.1)
1414

1515
step = digitalio.DigitalInOut(board.D6)
1616
direct = digitalio.DigitalInOut(board.D5)

0 commit comments

Comments
 (0)