Hi there, I have been lurking around these forums and others for a while trying to find the bits I need and have steadily reached the tearing my hair out point.

I have a Fortuna U2 GPS module that outputs an NMEA string serially, I want to grab this string and parse it into the separate sections then output the data to a Powertip PC2004A screen (in 4 bit mode), possibly on separate pages.

I have been finding various bits and pieces of code here and there for the initialisation of the screen and reading in the data and such but I cannot see how to fit these things together to make a set of code that will work for me and what I need. I have made the required electrical connections to the pic and the screen and now just need to program the code I need.

Does anyone know of either:

A set of code that will do this for me or

Blocks of code that can be fitted together in a logical and simple way to get the code I require?

A lot of the code I have found so far has little to no commenting in so I have been unable to work out what does what and where (hence the tearing hair out bit).

Many thanks in advance for any help anyone can give me.