![]() |
Resetting a potentiometer
I have programmed a potentiometer to give me the heighest number of degrees it turned. But I want to reset it to a default value using a limit switch. any ideas on how to do that?
|
Re: Resetting a potentiometer
Quote:
If the pot will rollover (from max R to 0 and back) things get a little tricker. You'l have to maintain your own "index", index = how many times pot has rolled over and increment/decrement the index as the pots rolls forward or backwards though its zero point. HTH |
| All times are GMT -5. The time now is 00:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi