i am trying to send my ADC values to my realterm terminal via UART, the HAL_UART AND hal_adc integer are not compatible, UART takes 8 bit and ADC 32 bit, can someone help ?both ADC code and UART code are working fine in separate program.
hi, thank you for your input, i used something different and it works,casting the parameter is the best way ,HAL_UART_TRANSMIT(&HUART, ADCVALUE, 2,10) using casting ........................... HAL_UART_TRANSMIT(&HUART, (uint8_t*)(&ADCVALUE),2,10)