adc progress, not yet done

This commit is contained in:
2020-10-31 23:19:07 +01:00
parent a5b20556ac
commit 9cf28e2099
7 changed files with 37 additions and 18 deletions

View File

@ -44,6 +44,7 @@ void frontendDisable() {
}
void frontendAdcCallback(ADC_HandleTypeDef* hadc) {
uint16_t rawValue = HAL_ADC_GetValue(hadc);
// uint16_t rawValue = HAL_ADC_GetValue(hadc);
HAL_GPIO_TogglePin(Debug_Signal_GPIO_Port, Debug_Signal_Pin);
}

View File

@ -62,4 +62,5 @@ void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
if (hadc == &frontendAdc) {
frontendAdcCallback(hadc);
}
}