AKAI LPD8 LED control

Hello, congratulations for this forum!
please be so kind to review my project.

I have a midi damper pedal. pressing it once it sends a sysex, pressing it the second time it sends another sysex. ( the pedal generate a cc and it took me days to figure out the right programming -:slight_smile: )

Please help me.! I need to add this functions:
when i press the pedal and the sysex is sent all pads of an Akai LPD8 should light on. whene the pedal is pressed again and the second sysex is sent the LPD8 pads should switch off.
I do not understand how to control lpd8 leds
Steve or other great programmers, can you help me?

Thank you,
Andrea.Lpd8 + SAFE Button Toggle PRE - USB Input.bmtp (2.8 KB)