Sketch working on Mega 2560 R3 but not on R1/2

Nobody has a idea why it works on one and not the other :~ ?