Posted on March 17, 2018 at 07:25char receivedData[50]='free';char transmitData[] = 'done';GPIO_PinState Val; GPIO_PinState Led_State; HAL_UART_Receive(&huart2,(uint8_t *)receivedData,50,50); Val = HAL_GPIO_ReadPin(GPIOC, GPIO_PIN_13); Led_State = H...