This commit is contained in:
2024-03-25 15:05:38 +08:00
commit 564de1dab2
9 changed files with 422 additions and 0 deletions

21
EC800M.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef EC800M_H
#define EC800M_H
#include <stdio.h>
#include <string.h>
#include "pico/stdlib.h"
#include "hardware/uart.h"
#define GPS_UART uart1
#define GPS_UART_BAUD_RATE 115200
#define GPSDATA_LENGTH 8192
extern char GPSDATA[GPSDATA_LENGTH];
extern int GPSDATA_LEN;
extern int EC800M_INIT();
extern char *EC800M();
extern char *EC800M_GPS_DATA_PARSING(char *GPS_DATA);
extern void reset_data();
#endif