Last active
January 10, 2026 16:06
-
-
Save DavesCodeMusings/6ca2f84c16ebec71b62e1027f78da5c6 to your computer and use it in GitHub Desktop.
Display data from serial attached GPS device for testing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/sh | |
| # Display data from serial attached GPS device for testing. | |
| PORT=/dev/ttyACM0 | |
| SPEED=9600 | |
| echo "Reading from $PORT at $SPEED bps." | |
| stty -F $PORT $SPEED | |
| while read LINE < $PORT; do | |
| echo $LINE | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment