#include <EEPROM.h>
#include <NTC_Thermistor.h>
#include <Thermistor.h>
int address =0; // var for address start from 0
byte value;
const float BETA=3950;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
int analogValue = analogRead(A2);
float celsius = 1 / (log(1 / (1023. / analogValue - 1)) / BETA + 1.0 / 298.15) - 273.15;
Serial.print("Temperature: ");
Serial.print(celsius);
Serial.print(" ℃, ");
float fahrenheit =(celsius*(9/5))+32;
Serial.print(fahrenheit);
Serial.println(" F");
delay(1000);
}