I just was looking at the change in the number of clock cycles it took to execute the function by itself, but I think it was running the interrupt in the background and doubling the resulting number of clock cycles (running the code twice). When I disable the isr it takes more like 600 cycles to run the code in the isr (about 40us). Sorry for the confusion.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|