Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // LM 35 DZ
- //Marco C. agosto 2018 code open source
- void setup()
- {
- Serial.begin(9600);
- }
- void loop ()
- {
- int v = analogRead(A0) * (5000 / 1024);
- int t = v / 10;
- Serial.print(" T = ");
- Serial.println(t);
- delay(1000);
- }
RAW Paste Data