Bidirectional communication between the STM32F4 and the python file has been established.