Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <thermistor.h>
- int pinNTC = A2;
- float temperatura;
- THERMISTOR thermistor(pinNTC, 10000, 3950, 10000);
- void setup()
- {
- Serial.begin(9600);
- }
- void loop()
- {
- temperatura = thermistor.read();
- Serial.println(temperatura);
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement