Closed bobvc133 closed 2 years ago
You cannot use 2 different ladder networks. All the ladder network must use the same resistors and they share the same calibration. Ladder network works with less than 6 resistors too. Set to 1023 the empty levels under Options.
I used 3 sets of resistance ladders, a total of 18 buttons, all of which are the same ladder network, but I found that only the first set of buttons can operate the calibration, and the second set of the third set does not respond when operating the calibration
It is by design. Only the first one is used for calibration. https://github.com/alf45tar/PedalinoMini/blob/b4ec16f77268ff03b3feb71263d918024f5028a3/src/Controller.h#L440
Can this be modified? I designed another pedal, the first group of buttons only has five, the current method is to connect the second group of buttons to the A1D1 interface for calibration, and the first group to connect to other interfaces
Yes, it can be modified changing the source code. In my previous reply I indicated the line of code.
Yes, it can be modified changing the source code. In my previous reply I indicated the line of code.
alright, thank you very much!
Please share your build when finished.
I found that the resistance ladder calibration can only use the first group of interfaces, and the remaining five groups of interfaces cannot calibrate the resistance ladder. If the first group of buttons is less than 6, then the resistance ladder cannot be fully calibrated