This commit is contained in:
cfif 2026-04-01 10:40:28 +03:00
parent 35a477a7dd
commit 3f00536e26
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
#define koef_B 0.00017003940268680147
#define koef_C 0.0000004890545443703666
#define TABLE_SIZE_LOOKUP 1024
#define TABLE_SIZE_LOOKUP 4096
typedef enum {
ALG_STEINHART = 0,

View File

@ -20,7 +20,7 @@ int main() {
// Пример доступа к таблице
printf("\nПример данных из таблицы быстрого поиска:\n");
for(int i = 0; i < 5; i++) {
for(int i = 2048; i < 2048 + 5; i++) {
printf("ADC: %u, Temp: %.1f °C, Resistance: %.2f Ω\n",
fast_lookup[i].adc_value,
fast_lookup[i].temp_c / 10.0f,