Arduino IDE compatibility with ATmega2561

sysmathick:
How can i know if i set on/off the internal pull up resistor ?

Sorry but I can't post the code for now. The code work perfect with the Atmega328P so i think's it's a problems of configuration.

Thx a lot

It's performed in the pinMode() function, hence the need to see the code.