Have you considered using an 8-pin 12F683 and generating a 38-KHz PWM signal output in the background? Use a interval counter and turn the PWM output on or off at the correct intervals by setting the CCPR1L duty cycle register to 50% or 0%.
Regards, Mike
Bookmarks