R3 Device Signature Error

I changed the chip code based on information in the following forum link:

I had the same error message with the original chip code contained in avrdude.conf. as follows:
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA328P is 1E 95 0F

My chips are 328P-PU. Is there a different code for these chips?

Thanks.