by adrian_b · 6mo ago · 0 comments
As another poster said, the overshoot may look cool, but I would be worried that a cheap panel voltmeter would not survive a very large number of such shocks.
needle_position = needle_position * 0.9 + desired_needle_position * 0.1
is very easy to implement, easier than linear if you ask me, and should give it a nice damped movement. The constants can be tuned to go as quick or as slow as you like of course.