在调用sscanf函数,一直返回0,调用不成功,希望支持一下
int temp=sscanf("$GNGGA,80317.000,3949.41188,N,11616.86033,E,1,07,4.3,66.1,M,-10.2,M,,*5C\r", "$GNGGA,%f,%f,%c,%f,%c,%d,%d,%f,%f,%c", \
&GPS.utc_time, &GPS.nmea_latitude, &GPS.ns, &GPS.nmea_longitude, &GPS.ew, &GPS.lock, &GPS.satelites, &GPS.hdop, &GPS.msl_altitude, &GPS.msl_units);
热门产品 :
CH394: 以太网协议栈芯片