MoCoMakers / SolarTracking

1 stars 0 forks source link

[bug-Arduino] Z command is uneffective #4

Open yoursunny opened 5 years ago

yoursunny commented 5 years ago

Steps to reproduce:

from Turntable import Turntable
t = Turntable("/dev/ttyACM0")
t.zero()
t.rotateTo(60)
t.zero()
t.rotateTo(90)

Expected: turntable rotates by 90 units Actual: turntable rotates by 30 units; the LCD indicates that the internal position starts with 60.00 instead of 0.00. Workaround: close and reopen the serial port, triggering a hard reset