alf45tar / PedalinoMini

Wireless and Bluetooth MIDI Foot Controller
GNU General Public License v3.0
479 stars 84 forks source link

Anything changed with Ladder config on later versions? #377

Closed Designbase closed 1 year ago

Designbase commented 1 year ago

Hi,

I recently updated the firmware from 2.3.2 to 2.5.1 and now my ladder configured buttons do not work anymore. Redid buttons via breadboard to exclude any mistakes and I can calibrate the ladder, all 6 buttons work on calibration but if I add actions to the buttons only the first one will work. Also tested with different ESP32 Boards.

Am I missing something that's changed over time? It's been some time since I worked on this project.

Thanks, Ron

alf45tar commented 1 year ago

Can you check the log if the button pressure and release is logged?

Here an example

Pedal: 4     Button: 3    EventType: 0     ButtonState: 0
Pedal: 4     Button: 3    EventType: 1     ButtonState: 1
Designbase commented 1 year ago

This is what I get:

Pedal: 1 Button: 1 EventType: 0 ButtonState: 0 Action: PROGRAM CHANGE.....Program 1.....Channel 1 Pedal: 1 Button: 1 EventType: 1 ButtonState: 1 Pedal: 1 Button: 1 EventType: 2 ButtonState: 1 Pedal: 1 Button: 2 EventType: 0 ButtonState: 0 Pedal: 1 Button: 2 EventType: 1 ButtonState: 1 Pedal: 1 Button: 2 EventType: 2 ButtonState: 1 Pedal: 1 Button: 3 EventType: 0 ButtonState: 0 Pedal: 1 Button: 3 EventType: 1 ButtonState: 1 Pedal: 1 Button: 3 EventType: 2 ButtonState: 1 Pedal: 1 Button: 4 EventType: 0 ButtonState: 0 Pedal: 1 Button: 4 EventType: 1 ButtonState: 1 Pedal: 1 Button: 4 EventType: 2 ButtonState: 1 Pedal: 1 Button: 5 EventType: 0 ButtonState: 0 Pedal: 1 Button: 5 EventType: 1 ButtonState: 1 Pedal: 1 Button: 5 EventType: 2 ButtonState: 1 Pedal: 1 Button: 6 EventType: 0 ButtonState: 0 Pedal: 1 Button: 6 EventType: 1 ButtonState: 1 Pedal: 1 Button: 6 EventType: 2 ButtonState: 1 Pedal: 7 Button: 1 EventType: 0 ButtonState: 0 Action: Pedal: 7 Button: 1 EventType: 1 ButtonState: 1 Pedal: 8 Button: 1 EventType: 0 ButtonState: 0 Pedal: 8 Button: 1 EventType: 1 ButtonState: 1 Pedal: 8 Button: 1 EventType: 2 ButtonState: 1 Action: Updating NVS Profile B ...

done Loading profile 2 ... Reading NVS Profile C ... done Bank 13 Pedal 1 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D25 Pedal 2 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D26 Pedal 3 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D27 Pedal 4 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D12 Pedal 5 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D13 Pedal 6 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D17 Pedal 7 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D35 Pedal 8 12L MOMENTARY1 PRESS_1_2_L POLARITY+ Channel 1 Pin D0 MTC None ... profile 2 loaded. Pedal: 1 Button: 1 EventType: 0 ButtonState: 0 Action: PROGRAM CHANGE.....Program 1.....Channel 1 Pedal: 1 Button: 1 EventType: 1 ButtonState: 1 Pedal: 1 Button: 1 EventType: 2 ButtonState: 1 Pedal: 1 Button: 2 EventType: 0 ButtonState: 0 Pedal: 1 Button: 2 EventType: 1 ButtonState: 1 Pedal: 1 Button: 2 EventType: 2 ButtonState: 1 Pedal: 1 Button: 3 EventType: 0 ButtonState: 0 Pedal: 1 Button: 3 EventType: 1 ButtonState: 1 Pedal: 1 Button: 3 EventType: 2 ButtonState: 1 Pedal: 1 Button: 4 EventType: 0 ButtonState: 0 Pedal: 1 Button: 4 EventType: 1 ButtonState: 1 Pedal: 1 Button: 4 EventType: 2 ButtonState: 1 Pedal: 1 Button: 5 EventType: 0 ButtonState: 0 Pedal: 1 Button: 5 EventType: 1 ButtonState: 1 Pedal: 1 Button: 5 EventType: 2 ButtonState: 1 Pedal: 1 Button: 6 EventType: 0 ButtonState: 0 Pedal: 1 Button: 6 EventType: 1 ButtonState: 1 Pedal: 1 Button: 6 EventType: 2 ButtonState: 1 Pedal: 7 Button: 1 EventType: 0 ButtonState: 0 Action: Pedal: 7 Button: 1 EventType: 1 ButtonState: 1 Pedal: 8 Button: 1 EventType: 0 ButtonState: 0 Pedal: 8 Button: 1 EventType: 1 ButtonState: 1 Pedal: 8 Button: 1 EventType: 2 ButtonState: 1 Action: Updating NVS Profile B ...

done Loading profile 2 ... Reading NVS Profile C ... done Bank 13 Pedal 1 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D25 Pedal 2 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D26 Pedal 3 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D27 Pedal 4 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D12 Pedal 5 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D13 Pedal 6 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D17 Pedal 7 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D35 Pedal 8 12L MOMENTARY1 PRESS_1_2_L POLARITY+ Channel 1 Pin D0 MTC None ... profile 2 loaded.

alf45tar commented 1 year ago

Check you pedal configuration. You have 8 momentary1 and no ladder pedals.

Designbase commented 1 year ago

With the Log above, it was configured as Ladder...

Designbase commented 1 year ago

Boot NORMAL Loading profile 0 ... Reading NVS Profile A ... done Bank 2 Pedal 1 1 LADDER PRESS_1 POLARITY+ CONTROL_CHANGE 100 Channel 1 Pin A36 D25 Pedal 2 1 LADDER PRESS_1 POLARITY+ PROGRAM_CHANGE 2 Channel 2 Pin A37 D26 Pedal 3 1 LADDER PRESS_1 POLARITY+ PROGRAM_CHANGE 3 Channel 3 Pin A38 D27 Pedal 4 1 LADDER PRESS_1 POLARITY+ PROGRAM_CHANGE 0 Channel 4 Pin A39 D12 Pedal 5 1 LADDER PRESS_1 POLARITY+ PROGRAM_CHANGE 0 Channel 5 Pin A32 D13 Pedal 6 1 LADDER PRESS_1 POLARITY+ CONTROL_CHANGE 66 Channel 1 Pin A33 D17 Pedal 7 1 MOMENTARY1 PRESS_1 POLARITY+ Channel 1 Pin D35 Pedal 8 12L MOMENTARY1 PRESS_1_2_L POLARITY+ Channel 1 Pin D0

Designbase commented 1 year ago
Screenshot 2022-10-15 at 12 55 01
alf45tar commented 1 year ago

show me the Actions

Designbase commented 1 year ago
Screenshot 2022-10-15 at 15 39 08

screenshot of actions...

alf45tar commented 1 year ago

The second button of the ladder is Pedal 1 Button 2 and not Pedal 2 Button 2. If you attach a ladder to Pedal 1 you must create all the actions in Pedal 1.

Designbase commented 1 year ago

Oh my God your are right! How stupid of me, now I see it I should have known.... Sorry to have bothered you... and thanks for supporting me...! Rgds, Ron