c3Reg/test/msg3

21 lines
241 B
Plaintext
Raw Permalink Normal View History

2020-06-01 15:02:43 +00:00
#!/bin/bash
./wincor
TEMP=/tmp/$RANDOM
printf "
\x1b\x78\x01
\x1b\x52\x02
\x0fx\x1b\x53\x01asdf\x1b\x54 = x\x1b\x53\x00asdf\x1b\x54\x12
\x5b\x5c\x5d\x7b\x7c\x7d\x7e
" >> $TEMP
printf "\xc" >> $TEMP
cat $TEMP >> /dev/ttyUSB0
rm $TEMP