Обновление платы на V2

This commit is contained in:
cfif 2026-05-13 17:48:21 +03:00
parent eb8c39940c
commit eea2ad0d7b
2 changed files with 1299 additions and 8194 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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