Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 501 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 501 Bytes

GNSS

How to Compile and Run the GNSS Code

Requirements
Raspberry Pi with UART enabled
GNSS Module connected to the Pi
C++ Compiler (g++)

Compiling the Code

To compile the code, navigate to the directory containing gnss.cpp (gnss) and run:

g++ -o gnss gnss.cpp  

This will create an executable file named

gnss  

Running the Code

Run the executable with sudo to ensure it has permissions to access the serial port:

sudo ./gnss