Thank you all for your previous responses. I would like to measure execution time of a routine or a program on AVR butterfly, but I don't have any hardware tools. If possible, I would like to do it in software and display it on the LCD. For example, can I use interrupts and measure the time in between? Any help will be greatly appreacited.
Thank you. --- David VanHorn <[EMAIL PROTECTED]> wrote: > On 2/9/06, Dave <[EMAIL PROTECTED]> wrote: > > > > Is there a way to do it software? Thank you. > > > Well.. Again, we need to know what tools you have. > > You COULD start a timer at the beginning of a > routine, and read it at the > end, but then you have to output that value > somewhere. Display maybe, > Serial through the UART, or even a D/A converter and > analog meter! > > You COULD set a pin high at the beginning of a > routine, and low at the end, > and read that on an oscillicscope or logic analyzer. > (that's what I do, but > I have both tools) > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ AVR-GCC-list mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
