main code for separate 38kHz transmitter

main code for separate 38kHz transmitter. Used for PIC that is to be the
38kHz transmitter for a split detector system. Lots of this not
needed/used. Simply transmits 38kHz, could add a startup for indicator
LED flash.