Este commit está contenido en:
phyto
2019-05-13 14:26:05 +02:00
padre 0a83be585a
commit cce90eb60e
Se han modificado 3 ficheros con 39 adiciones y 22 borrados
+5 -5
Ver fichero
@@ -11,6 +11,9 @@ typedef struct {
unsigned short magic;
char tag[4];
short delai;
short temp_maxi;
short temp_mini;
short control;
} Global;
Global parametres;
@@ -20,17 +23,14 @@ void setup() {
Serial.begin(9600);
pinMode(LED_BUILTIN, OUTPUT);
Serial.print("\n");
phytocli(); /* XXX */
Serial.print("\n");
/* XXX */
/* changing the voltage reference of the ADC
* greatly increase the prcision on the limited
* range of our temperatures.
*/
analogReference(INTERNAL1V1); // Pour Arduino Mega2560
Serial.print("\n\n");
Serial.print("\n");
delay(1000);
Serial.print("M running now\n");