Closed shaeon closed 3 years ago
Hi!
I can add this as an option, but we should also inform @arananet so that he can check the schematic / encoder.
@arananet: the prototype Pi-MIDI 1.3 that you sent me works with the correct direction - did anything change in the encoder wiring between the prototype and the final version?
If not, did you use a different part for the encoder? It may be a good idea to check this.
Thanks.
Hi Dale,
No, is the same as you got there, but it must be related to the actual encoder itself. They are from a different supplier. This is the schematic. Thanks Dale.
I upload a video working with encoder.
Thanks both,
I guess the encoder must have a different pinout which is unfortunate, but not a huge problem - I can just add a config option to negate the direction.
Will be added in the next version. Thanks!
Thanks Dale!.
There is now a test build available here: https://github.com/dwhinham/mt32-pi/actions/runs/727192835
A new config option is available:
[control]
# ...
# Reverse the rotary encoder direction (if used by control scheme).
#
# Some rotary encoders may have their CLK/DAT signals swapped, resulting in
# a reversed rotation direction.
#
# Use this option to correct the direction.
#
# Values: on, off*
encoder_reversed = off
You can just download the kernels
artifact, update the kernels and edit your config to add the new option.
Thanks!
Wow! So fast Dale!
It's work as expected. I download new kernel and put on encoder_reversed option in control and now my brain can be relax :)
Great! Thanks for testing, it'll be included in the next release. 👍
Hello I'm using Edu Arana PI-MIDI 1.3:
https://www.arananet.net/pedidos/product/pi-midi-1-3-a-baremetal-mt32-emulator-using-raspberry-pi-preorder/
The problem its that here rotary encoder its working reverse, if you turn left up volume and if you turn right down volume.
I try find a option for reverse this issue but i can't find.
Can you add an option for can put reverse working in next version?
Thanks so much for your work!