DIY sysex fader box status and questions.

Paul Maddox yo at vacoloco.net
Sat Apr 21 11:29:10 CEST 2012


sounds like you've got ones with indents and that they have no connection
at the indent (i.e. they float high).
Got a schematic/part number?

Paul

On Sat, Apr 21, 2012 at 8:41 AM, Jay Vaughan <jayv at synth.net> wrote:

> > The values I should see are like this:
> > 2 bits per encoder
> > Sequence CW rotation:
> > 00 10 11 01
> > Sequence CCW rotation:
> > 00 01 11 10
> > But between each step I see 11, as this is the value when the encoder is
> not turned.
> > Now, how does one cope with this behaviour?
> > Should I only check for the 10 -> 01 or 01 ->10 transitions? Am I not
> loosing too much accuracy this way? (I can test this pretty easy I think,
> but I thought I ask first.)
>
> I don't think you're going to lose too much accuracy by converting the 4
> bytes to a word, and using it as a plain old number.  This number, if you
> get it, tells you what direction the knob is turned.  Don't put too much
> pressure on bit-ops, just convert to a word and use that word in your
> switch statement ..
>
>
> ;
> --
> Jay Vaughan
>
>
>
>
> _______________________________________________
> music-bar mailing list
> music-bar at lists.music-bar.org
> http://lists.music-bar.org/cgi-bin/mailman/listinfo/music-bar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.music-bar.org/pipermail/music-bar/attachments/20120421/5b33e54b/attachment.html>


More information about the music-bar mailing list