working on serial protocol
This commit is contained in:
@@ -5,18 +5,18 @@ DATAFILE="foo.dat"
|
||||
TMPFILE="/tmp/dd2data"
|
||||
|
||||
IMAGE="graphe.png"
|
||||
NB_READ=25000
|
||||
NB_READ=25
|
||||
|
||||
./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 output "${IMAGE}"
|
||||
set grid
|
||||
set title "Dans le Double Dragon 2"
|
||||
set title "Temperature dans le Double Dragon 2"
|
||||
set xdata time
|
||||
set timefmt "%s"
|
||||
set format x "%H:%M:%S"
|
||||
set format x "%a, %H:%M:%S"
|
||||
set yrange [ 5.0 : 30.0]
|
||||
plot "${DATAFILE}" using 1:2 title " foo" with lines, \
|
||||
"${DATAFILE}" using 1:3 title " bar" with lines, \
|
||||
|
||||
Reference in New Issue
Block a user