diff --git a/prosjekt.X/nbproject/configurations.xml b/prosjekt.X/nbproject/configurations.xml index 208dedf..047a263 100644 --- a/prosjekt.X/nbproject/configurations.xml +++ b/prosjekt.X/nbproject/configurations.xml @@ -4,7 +4,7 @@ - uart.h + eeprom.h themistor-temp.h main.c - uart.c + eeprom.c thermistor-temp.c + + + @@ -169,6 +172,9 @@ + + + diff --git a/prosjekt.X/themistor-temp.h b/prosjekt.X/themistor-temp.h index dc44ea8..2b715d1 100644 --- a/prosjekt.X/themistor-temp.h +++ b/prosjekt.X/themistor-temp.h @@ -23,7 +23,7 @@ extern "C" { // Takes inn messured value // Calculates the temperature in celcius -// Returns the themperature +// Returns the thermistor themperature float calculate_thermistor_temp(float readValue); diff --git a/prosjekt.X/thermistor-temp.c b/prosjekt.X/thermistor-temp.c index 4aa1e41..7d6af52 100644 --- a/prosjekt.X/thermistor-temp.c +++ b/prosjekt.X/thermistor-temp.c @@ -1,5 +1,6 @@ #include "themistor-temp.h" + float calculate_thermistor_temp(float readValue){ float R_therm; float V_1;