projects
/
air-quality
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b531445
)
serial by path
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 18 Apr 2020 17:14:07 +0000
(19:14 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Sat, 18 Apr 2020 17:14:07 +0000
(19:14 +0200)
pms3003.pl
patch
|
blob
|
history
diff --git
a/pms3003.pl
b/pms3003.pl
index
0f73e96
..
72771f5
100755
(executable)
--- a/
pms3003.pl
+++ b/
pms3003.pl
@@
-6,7
+6,7
@@
use Device::SerialPort;
use Time::HiRes;
use Data::Dump qw(dump);
-my $port = shift @ARGV || '/dev/
ttyUSB
0';
+my $port = shift @ARGV || '/dev/
serial/by-path/platform-3f980000.usb-usb-0:1.3:1.0-port
0';
my $influx_url = shift @ARGV || 'http://10.13.37.92:8086/write?consistency=any&db=rot13';
my $debug = $ENV{DEBUG} || 0;