[SOLVED] Change Direction of Rotary Encoder

Max2Play Home Forums General Questions on Hardware and Max2Play Versions [SOLVED] Change Direction of Rotary Encoder

Viewing 3 posts - 1 through 3 (of 3 total)
  • 29. Januar 2017 at 20:46 #26392

    I’m using the rotary encoder with a JustBoom Amp HAT and a Raspberry Pi 3 Model B, set it up using Max2Play’s setup guide and it works fine including the button.
    One thing is odd though, when I turn the encoder clockwise, volume is decreasing, when turning it counterclockwise volume increases. On all other devices I have (my livingroom amp for example) it is the other way round.
    Can I change the behaviour of the encoder? I want the volume to increase when turning clockwise and when turning counterclockwise it shall decrease.


    30. Januar 2017 at 11:43 #26399

    Hey Tim,
    please try to swap the Pins of the Rotary Encoder.
    This can also be done in the JustBoom Plugin by changing the command line parameter „–gpiorot=23,24“ to „–gpiorot=24,23“.

    30. Januar 2017 at 20:51 #26437

    Hey Kolja,

    thanks for the tip! Changing the command line options did the trick. Now it works the way I want it to work.


Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Register here