hey i want to read a temperature sensor and a humidity sensor i want to send the values via cdc to my pc and then read them in c# windows forms my question is now how can i read two adc at the same time so i have separate data ? here you have my stm code
while (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ HAL_ADC_Start(&hadc2); HAL_ADC_Start(&hadc1); if (HAL_ADC_PollForConversion(&hadc2, 10) == HAL_OK) { adcValTemp = HAL_ADC_GetValue(&hadc2); // Temperature Calculation adcTem...