Forgot your password?
No account? Register one!
June 3, 2011
Tutorial - RFID USB Starter Kit Quick Start Guide |
about 2 years ago
The problem you’re seeing is that screen consumes the output generated by the usb device, so nothing will be written to your rfid variable. If you simply run the cat command on the usb device file, you’ll also see the RFIDs printed to STDOUT:
To capture the ids in a script, you’d do something like this:
cat /dev/cu.usbserial-A800f8sK |
while read rfid
echo "found $rfid"
# do something interesting!
No public wish lists :(