Need help with an arduino (chip Atmega168) urgent!

hi
if you have strange values with the motor driver connected, it probably means that the motor driver pins are 'loading' the Arduino outputs... short circuit on the motor driver perhaps?

D