adding 5hrs 30 sec to the time which i get in $gprmc string( nmea data) in pic 24f
$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A
i am receiving this data into a buffer.
now i need to add 5 hrs 30 min to the time which according to this string is 12hrs 35min 19sec
in my buffer
txbuff[8]+=5;
it shows 17hrs
but when the time is for ex:08hrs 30 min 35 sec
txbuff[8]+=5;
gives me 0=hrs because it displays ascii .
even if i subtract 0x30 im not able to get proper data.
please give me some idea .