bottom serial on rpi
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 Jan 2021 11:02:07 +0000 (12:02 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 24 Jan 2021 11:02:07 +0000 (12:02 +0100)
serial.pl

index 2ba83e8..b84c3a0 100755 (executable)
--- a/serial.pl
+++ b/serial.pl
@@ -8,7 +8,8 @@ use LWP::UserAgent;
 
 my $read_len = 255;
 
-my $path = shift @ARGV || '/dev/serial/by-path/platform-20980000.usb-usb-0:1.2:1.0-port0';
+# bottom serial on rpi
+my $path = shift @ARGV || '/dev/serial/by-path/platform-20980000.usb-usb-0:1.3:1.0-port0';
 
 $|=1;