Author Topic: Checking system clock speed on at atmega88  (Read 2914 times)

0 Members and 1 Guest are viewing this topic.

Offline stopgoTopic starter

  • Full Member
  • ***
  • Posts: 58
  • Helpful? 0
Checking system clock speed on at atmega88
« on: May 10, 2008, 10:39:20 PM »
Any idea how I can use a scope to do this?  I think my fuses are correctly set, but it would be nice to be sure.

Offline benji

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: Checking system clock speed on at atmega88
« Reply #1 on: May 11, 2008, 03:21:41 AM »
download a program which set a pin on and of ,somthing like this

define xtal 8mhz
[
Code: [Select]
while(1)
{ portd.0 = 0;
 delay_ms(20);
portd.0=1;
delay_ms(20);
}
check with osci if the timing is right then its running under 8 mhz
good ol' BeNNy

 


data_list