Excellent, thanks for the input about the Uno. So as much as can reasonably be tested this is a Mega 2560 specific problem.