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 [EMAIL PROTECTED] [EMAIL PROTECTED] http://home.iitk.ac.in/~chintal ________________________________ _______________________________________________ AVR-chat mailing list AVR-chat@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-chat