Une LED qui mesure l'éclairement et qui éclaire !

Hi,
I just tried to run the code on an Atmega168.
The problem is that i dont get the pull-up resistors deactivated. :cry:
according to the a168 manual the code for switching off the resistors is the same as in the atmega8
does anyone know how to deactivate the resistors in the a168?

thank you.
max.