delay trouble

Hi,

This is my first post here.

I made my own design based on the Arduino pro with an Atmega328P mcu. Everything works fine but one thing. I have issues with the resonator i chosed for the mcu. If i use the built in delay function for the basic arduino blink sample with delay(1000) i get a delay on 16 seconds (!?) exactly instead of the intended 1 second. The resonator i use is the PBRC16.00MR70X000, the center pin is connected to ground and the other two to pin 7 and 8 (one to each pin ofc) of the 32pin TQFP mcu. I have tried to rule out everything, but the issue still stands. I guess that this means the processor works at 1 MHz? I have not changed anything in the Arduino original configs. I have searched most forums and ideas but it seems like noone else had this issue. So anyone have any idea on whats wrong here? Any tip would be highly appreciated!

Ok. Solved it myself. Missed out burning the bootloader part with the fuse settings. That meant the fuses were default from factory for the mcu.

Go gentle on me folks. :slight_smile: This is my first ATmega project. I am(was?) a Microchip guy.

I am(was?) a Microchip guy.

That's what we all say! ;D

Welcome. Here are my projects: Ray's Stuff

Ray

I am(was?) a Microchip guy.

Me too.
Welcome.

Here is my advice, look at all the posts here.

And Rays stuff too.

Here is my advice, look at all the posts here.
Gammon Forum : Electronics : Microprocessors
And Rays stuff too.

Ha, ha! I defer to Nick in all cases of my indecision or indirection.

Ray