I have a sketch that reads a GPS module and displays the data on a 16x2 LCD display.
When I run the sketch on a ATMega328 it runs fine and the data from the NMEA sentences get displayed, but when I run the same sketch on an ATMega2560 the display layout is correct but it is obvious that the data is not being interpreted as the displayed values are the defaults.
I have got the pull-up resistor set on the input pin in the sketch and I have tried other pins on the 2560 just in case there is a dead pin.
When I put a scope on the input pin I can see the quiescent state as being 3V0 with the Space dropping to GND when each sentence is sent from the module. This is the same for both microcontrollers.
Short of posting the sketch to this forum somewhere, is there anything that springs to mind that I should be looking for?
TIA.