Introduction - If you have any usage issues, please Google them yourself
STM32F407 PD0 connected to the K3, PD1 connected to K2, PD2 connected to the K1, PD0, PD1 and PD2 configured for line interrupt mode, when the K3, K2, K1 press enter line interrupt handlers, invert the LED state.