Thanks very much nigel...
I fear this is what is happening with my program.
My program is doing 2 things;
- communicating with the DS18B20 and getting temperature data, and,
- converting the data to decimal and displaying it on a 3 digit 7 segment LED.
When I cut it in half and run it a 2 separate programs, It works perfectly. But when I try and run it as one, poo hits the fan.
Is there any easy way of "seeing the stack" and seeing it (possibly in my case) overflow?