Introduction - If you have any usage issues, please Google them yourself
stm32 through spi port is connected with 74hc595 and eight lights are ocontrolled by the 74hc595 , note that works with an external high-speed oscillator is 12MHZ, and most of the board of 8M Hz, you need to modify the PLL multiplication factor.