Обновление платы на V2
This commit is contained in:
parent
eb8c39940c
commit
eea2ad0d7b
9487
ADC_Temp_Fast.c
9487
ADC_Temp_Fast.c
File diff suppressed because it is too large
Load Diff
|
|
@ -17,7 +17,13 @@ typedef struct {
|
|||
extern const TablePoint temperature_table_duct_KST45_table_3000[];
|
||||
extern const TablePoint temperature_table_duct_KST45_table_20000[];
|
||||
|
||||
|
||||
float get_temperature_by_adc(const TablePoint* table, int table_size, int adc_value);
|
||||
float get_resistance_by_temperature_linear(const TablePoint* table, int table_size, float temperature);
|
||||
|
||||
// Быстрый поиск температуры по ADC (прямая индексация)
|
||||
int16_t lookup_table_get_temp(const TablePoint *table, uint16_t adc_value);
|
||||
// Быстрый поиск сопротивления по ADC (прямая индексация)
|
||||
float lookup_table_get_resistance(const TablePoint *table, uint16_t adc_value);
|
||||
|
||||
#endif //HVAC_M7_ADC_TEMP_FAST_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue