ADC Setup

This commit is contained in:
Ben V. Brown
2022-06-16 20:18:37 +10:00
parent df1c7c4659
commit 74b74c3e35
3 changed files with 7 additions and 7 deletions

View File

@@ -174,4 +174,4 @@ uint16_t getADCHandleTemp(uint8_t sample) { return ADC_Temp.average(); }
uint16_t getADCVin(uint8_t sample) { return ADC_Vin.average(); }
// Returns either average or instant value. When sample is set the samples from the injected ADC are copied to the filter and then the raw reading is returned
uint16_t getTipRawTemp(uint8_t sample) { return ADC_Tip.average(); }
uint16_t getTipRawTemp(uint8_t sample) { return ADC_Tip.average() >> 1; }