Reworking raw adc, handle temp done
Pre seed adc values Pinecil port Update PIDThread.cpp TRGO is more stable for timing (buffered)?
This commit is contained in:
committed by
Ben V. Brown
parent
fc47c71ec3
commit
af0adb0708
@@ -201,7 +201,7 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
|
||||
HAL_IncTick();
|
||||
}
|
||||
}
|
||||
uint16_t getHandleTemperature() {
|
||||
uint16_t getHandleTemperature(uint8_t sample) {
|
||||
int32_t result = getADC(0);
|
||||
return Utils::InterpolateLookupTable(NTCHandleLookup, NTCHandleLookupItems, result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user