projects
/
vaillant-thermostat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
format output readable
[vaillant-thermostat]
/
serial.pl
diff --git
a/serial.pl
b/serial.pl
index
e72c99a
..
6620593
100755
(executable)
--- a/
serial.pl
+++ b/
serial.pl
@@
-23,7
+23,7
@@
while (1) {
if ( $len > 0 ) {
my $hex = unpack('H*',$string);
$hex =~ s/(..)/$1 /g;
- print
time(), " $len $hex\n"
;
+ print
f "%s %2d %s\n", time(), $len, $hex
;
}
}