|
@ -18,8 +18,8 @@ void loop() { |
|
|
// put your main code here, to run repeatedly:
|
|
|
// put your main code here, to run repeatedly:
|
|
|
lectura1 = analogRead(in1); |
|
|
lectura1 = analogRead(in1); |
|
|
lectura2 = analogRead(in2); |
|
|
lectura2 = analogRead(in2); |
|
|
temp1 = (lectura1 * 5000 / 1023 / 10) - 33; |
|
|
|
|
|
temp2 = (lectura2 * 5000 / 1023 / 10) - 37; |
|
|
|
|
|
|
|
|
temp1 = (lectura1 * 5000 / 1023 / 10) - 52; |
|
|
|
|
|
temp2 = (lectura2 * 5000 / 1023 / 10) - 52; |
|
|
Serial.println(temp1); |
|
|
Serial.println(temp1); |
|
|
Serial.println(temp2); |
|
|
Serial.println(temp2); |
|
|
if(Serial.available()>0){ |
|
|
if(Serial.available()>0){ |
|
|