Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Basic Serial Port Reader
metalx1000
Jun 25th, 2016
807
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Bash
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/bin/bash
stty
raw
-echo
<
/
dev
/
ttyUSB0;
cat
-vte
/
dev
/
ttyUSB0
|
while
read
line;
do
if
[
[
"
$line
"
==
*
"9516AE"
*
]
]
;
then
echo
"You clicked 3"
;
fi
;
done
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Crypto Exploit
36 min ago | 0.94 KB
✅ Method to get 13,000$ in 2 days
CSS | 36 min ago | 0.94 KB
Untitled
1 hour ago | 6.64 KB
Untitled
1 hour ago | 15.05 KB
Untitled
3 hours ago | 13.92 KB
Untitled
5 hours ago | 12.37 KB
Untitled
7 hours ago | 16.21 KB
Untitled
9 hours ago | 19.93 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!