This commit is contained in:
cfif 2026-04-03 16:07:12 +03:00
parent 0ec851cc07
commit fffbd30b4f
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ typedef enum {
// Размеры таблиц
#define TABLE_SIZE_KST45 26
#define TABLE_SIZE_INCAR 38
#define TABLE_SIZE_LOOKUP 256
#define TABLE_SIZE_LOOKUP 1024
// Предварительно вычисленная таблица для быстрого доступа для каждой таблицы
typedef struct {

View File

@ -92,8 +92,8 @@ void save_working_range_to_file(const char* filename, const adc_temp_lookup* tab
int main() {
// Инициализируем обе таблицы одновременно с разными значениями R1
init_both_tables(20000.0f, // R1 для KST45
3000.0f, // R1 для INCAR
init_both_tables(40000.0f, // R1 для KST45
40000.0f, // R1 для INCAR
ALG_STEINHART);
uint16_t adc_value = 3200;//1980;