diff --git a/plot.sh b/plot.sh index c7c3469..18f70ff 100755 --- a/plot.sh +++ b/plot.sh @@ -7,10 +7,10 @@ DATAFILE="serial/foo.dat" IMAGE="graphe.png" TMPFILE="/tmp/tmpdata" -tail -700 < ${DATAFILE} > ${TMPFILE} +tail -1200 < ${DATAFILE} > ${TMPFILE} gnuplot << __EOC__ -set term png size 1000,700 +set term png size 1400,700 set output "${IMAGE}" set ytics 2 set xtics diff --git a/simulator/rdtemp/rdtemp.ino b/simulator/rdtemp/rdtemp.ino index 101cf7b..82c5d88 100644 --- a/simulator/rdtemp/rdtemp.ino +++ b/simulator/rdtemp/rdtemp.ino @@ -12,6 +12,7 @@ void setup() { pinMode(LED_BUILTIN, OUTPUT); Serial.print("\n"); + /* XXX */ /* changing the voltage reference of the ADC * greatly increase the prcision on the limited @@ -32,9 +33,8 @@ void updatevalues(short *ptr) { short foo, pass; - for (foo=0; foo