Hello there.
I want to change the Grayhill by other encoder like ALPS EC18A, much more common and cheaper.
The 25LB22H encoder use a "hexadecimal/decimal" code and the EC18A use "gray" code.
A friend edited the code, but if we use gray code for "bank" and "function", we have conflicts, the encoder can't control properly and the X0x are not functionnal.
By modifying just the "bank" in "gray" code it seems work, but the "function" order is not anymore the original, and using "gray" code for "bank" and "hexadecimal/decimal" for "function" there could also be some conflicts (I have some other test to make to control it).
If you have a idea for this problem it will be cool.
We worked and modified the S0kk0s 2.0 for the moment, and we try to modify MarOS later.
Grayhill 25LB22H to EC18A gray code
Moderators: altitude, adafruit_support_bill, adafruit, hamburgers, phono
Please be positive and constructive with your questions and comments.
- oer23
- Posts: 8
- Joined: Thu Dec 15, 2022 2:18 pm
Re: Grayhill 25LB22H to EC18A gray code
Finally my friend found the problem with the code.
Now S0kk0s and MarOS are functionnal with gray code encoder.
For the MarOS the "user C" function is desactived to win some space to write it in a Atmega162.
Now S0kk0s and MarOS are functionnal with gray code encoder.
For the MarOS the "user C" function is desactived to win some space to write it in a Atmega162.
Please be positive and constructive with your questions and comments.