[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] Short duration pulses with AtMega16
From: |
Shashank Chintalagiri |
Subject: |
[avr-chat] Short duration pulses with AtMega16 |
Date: |
Tue, 27 Nov 2007 19:46:15 +0530 |
Hi,
I'm trying to get a 2 microsecond pulse with an ATMega16 running at 8
MHz. When using Timer0, with un-prescaled clock in CTC mode, I'm
getting somewhat strange results. With OC0=0x10 I'm getting pulses of
about 7usec, and with OC0=0x04 _also_ I'm getting pulses of about the
same durations (7 usec). Can anyone tell me what the problem could be?
Thanks
Shashank
--
________________________________
Chintalagiri Shashank
Junior Undergraduate
Department of Physics
Indian Institute of Technology, Kanpur
address@hidden
address@hidden
http://home.iitk.ac.in/~chintal
________________________________
- [avr-chat] Short duration pulses with AtMega16,
Shashank Chintalagiri <=