This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

用TM4C123G对GPS数据提取



$GPGGA,,,,,,0,00,99.99,,,,,,*48

用串口接收GPS数据,帧格式为$GPGGA。每次收到数据出发一个UART的中断。

实时监控$字符,捕捉到$后 再逐个捕捉G P G G A,只要一个字符不符合,就停止

类似一个陷阱,如果某数据流包含$GPGGA 那就掉进陷阱了,然后继续接收 保存数据,

但是对于用代码实现没思路