How to check ATmega328 or ATmega168

lcd.print("Stuff to string");

This will end up putting the string in RAM...