Pio IX 6ºTecnica - Integrantes: Facundo Carmona, Facundo Sussini - Controlador de cooler mediante un DS1820 y un potenciometro
Diff: main.cpp
- Revision:
- 2:d644c874ea0c
- Parent:
- 0:e069f9f26768
- Child:
- 3:f483abe4bc57
diff -r 9100c4c37ad5 -r d644c874ea0c main.cpp --- a/main.cpp Mon Feb 16 16:54:07 2015 +0000 +++ b/main.cpp Thu Feb 26 22:21:13 2015 +0000 @@ -1,5 +1,5 @@ #define MULTIPLE_PROBES -#define DATA_PIN D13 +#define DATA_PIN A0 #ifdef MULTIPLE_PROBES @@ -22,7 +22,7 @@ } printf("Found %d device(s)\r\n\n", num_devices); - + while(1); while(1) { probe[0]->convertTemperature(true, DS1820::all_devices); //Start temperature conversion, wait until ready for (int i = 0; i<num_devices; i++)