welcome on board, claire

Cette révision appartient à :
tth 2019-01-06 21:17:33 +01:00
Parent 0826568604
révision 15ce537f22
3 fichiers modifiés avec 10 ajouts et 6 suppressions

Voir le fichier

@ -1,4 +1,3 @@
# Serial Input
But premier de ce module : recevoir les données fournies par l'automate

Voir le fichier

@ -2,20 +2,22 @@
DEVICE="/dev/ttyACM0"
DATAFILE="foo.dat"
TMPFILE="/tmp/dd2data"
IMAGE="graphe.png"
NB_READ=1000
NB_READ=12000
./t -n ${NB_READ} -d ${DEVICE} | tee -a ${DATAFILE}
gnuplot << __EOC__
set term png size 1024,512
set term png size 1600,512
set output "${IMAGE}"
set grid
set xdata time
set timefmt "%s"
set format x "%H:%M:S"
plot "${DATAFILE}" using 1:2 title "foo" with lines, \
"${DATAFILE}" using 1:3 title "bar" with lines, \
set format x "%H:%M:%S"
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, \
"${DATAFILE}" using 1:5 title "booz" with lines
__EOC__

3
viz/pg/README.md Fichier normal
Voir le fichier

@ -0,0 +1,3 @@
# Visualisation avec PyGame
Welcome on-board, Claire !