add delay to serial write for stm32 responsing