Closed Designbase closed 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
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.
Check you pedal configuration. You have 8 momentary1 and no ladder pedals.
With the Log above, it was configured as Ladder...
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
show me the Actions
screenshot of actions...
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.
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
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