摘要:GPS是全球定位系统英文名词Global PositioningSystem的缩写。该系统是美国布设的第二代卫星无线电导航系统。它能为用户提供全球性、全天候、连续、实时、高精度的三维坐标、三向速度和时间信息。其目的是在全球范围内对地面和空中目标进行准确定位和监测。现在,GPS接收机作为一种先进的导航和定位仪器,已在军事及民用领域得到广泛的应用。
【资源下载】下载地址如下:
/doc/DTlRSd01BZXNpRUxl
/***********************************************************************************************************************************************************//* 主函数(main.c): */#include <tou.h>#include <uart.h>extern chartime[];extern charLongitude[];extern charLatitude[];extern charSpeed[12];extern charp[];extern charrec_ok;sbitled= P1 ^ 0;sbitkey= P3 ^ 7;bitflag= 1;charsecond[1] = { 0 };charminute[1] = { 0 };charDIS[8] = { '0', '0', '.', '0', '0', 'K', 'M', '\0' };intdistance = 0;void delay10ms( void ) /* 延时程序 */{uchar i, j;for ( i = 20; i > 0; i-- )