using 1.1v Vref on the Arduino analog to digital converter for better precision
This commit is contained in:
@@ -7,17 +7,17 @@ TMPFILE="/tmp/dd2data"
|
||||
IMAGE="graphe.png"
|
||||
NB_READ=5000
|
||||
|
||||
./t -v -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
|
||||
./t -vv -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
|
||||
|
||||
gnuplot << __EOC__
|
||||
set term png size 3200,512
|
||||
set term png size 3200,640
|
||||
set output "${IMAGE}"
|
||||
set grid
|
||||
set title "Temperature dans le Double Dragon 2"
|
||||
set xdata time
|
||||
set timefmt "%s"
|
||||
set format x "%a, %H:%M:%S"
|
||||
set yrange [ 5.0 : 30.0]
|
||||
set yrange [ 0.0 : 30.0]
|
||||
plot "${DATAFILE}" using 1:2 title " foo" with lines, \
|
||||
"${DATAFILE}" using 1:3 title " bar" with lines, \
|
||||
"${DATAFILE}" using 1:4 title "quux" with lines, \
|
||||
|
||||
Reference in New Issue
Block a user