Skip to content

Commit

Permalink
Minor formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
dtynan committed Jun 29, 2022
1 parent a7a871b commit 291a37d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# GPS Time

Set the system time by reading from a GPS device connected via serial/USB.
Set the system time by reading from a GPS device connected via
serial/USB.

This code opens a serial device at a specified baud rate,
then trawls through the data received looking for a $GPRMC message
from the GPS.
This code opens a serial device at a specified baud rate, then
trawls through the data received looking for a $GPRMC message from
the GPS.
This particular message includes not just the time but also the date.
A sample message might be:

Expand All @@ -17,8 +18,8 @@ particularly Y2K-friendly format.

# Compiling and Installing

The application doesn’t require any third-party libraries
apart from libc.
The application doesn’t require any third-party libraries apart
from libc.
You’ll need a C compiler such as **gcc** or **clang**, **make**,
and **libc**.
Compiling should just be a matter of typing `make`.
Expand All @@ -39,4 +40,4 @@ A good example might be:

$ gps_time -s 9600 -l /dev/ttyu1 -v



0 comments on commit 291a37d

Please sign in to comment.