the middle layer of the 3D rotating display system based on stm32