I have to do the atan2(). It takes a little longer than I would like the pulse, but, the longer pulse does not hurt anything. So, including the atan2() in the pulse duration does not waste as much time as delayxxx() and then do the atan2().
tomdean _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list