??? 05/19/08 19:44 Read: times |
#154918 - Precision... Responding to: ???'s previous message |
Richard Erlacher said:
I don't know what Robert's application for this pot that he's measuring is, nor do I know how precise or accurate his readings must be. The answer is that the readings don't really have to be that accurate or precise in as much as I don't really care if I'm measuring 2.016V for example. This is a MIDI control for controlling parameters on a synthesizer (for example) and what really matters is that there should be no output unless the control has been moved. The actual output must vary from 0-127 (the range of a MIDI message) so I'm not all that concerned with resolution either. What I've done is to implement a set of buffers that check if the value currently being read is the same as one of the last 8 values read. If it is, then don't send the result. This may be crude, but it seems to work quite nicely within my requirements, and has removed the flicker I was experiencing. Thanks to all who responded. |