mxmxmx / O_C

display w/ dac
472 stars 122 forks source link

Right encoder #88

Closed Kooza25 closed 5 years ago

Kooza25 commented 5 years ago

My right encoder only become reverse when I reboot the module. If in calibration I correct the direction it works good untile reboot. Already tried to reflash the teensy

patrickdowling commented 5 years ago

Did you save the calibration? That'd be the simplest explanation. If yes, are the other values restored correctly?

Kooza25 commented 5 years ago

Of course it’s saved and out voltages remain calibrated

frequenzteiler commented 5 years ago

hey . i had the same on mine , tho cant really remember how it got fixed. i also recalibrated a few times after that it was gone i think.

Kooza25 notifications@github.com hat am 31. Juli 2019 um 13:17 geschrieben:

Of course it’s saved and out voltages remain calibrated
Il 31 lug 2019, 12:19 +0200, Patrick Dowling <notifications@github.com>, ha scritto:
> Did you save the calibration? That'd be the simplest explanation.
> If yes, are the other values restored correctly?
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/mxmxmx/O_C/issues/88?email_source=notifications&email_token=ABHTZR3U7WVHV526FNI7BTLQCFYEJA5CNFSM4IH3R5K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3G5PSQ#issuecomment-516806602 , or mute the thread https://github.com/notifications/unsubscribe-auth/ABHTZRZYB5GNDGOOSRP4TULQCFYEJANCNFSM4IH3R5KQ .
patrickdowling commented 5 years ago

Yeah, superficially it doesn't make sense since all the calibration data is saved in the same struct so it's a bit thin to base theories off. IIRC that part hasn't changed in years and if it were systematic it should be more apparent.

What hardware, software version? Does inverting the left encoder in calibration work after a reboot?

Kooza25 commented 5 years ago

Good input! After inverting left one too, it saved the right and so it does when putting them back to the right direction. Problem solved, for now