What is the code I can use to modulate IR

I am using an IR LED and IR phototransistor to detect a line

How can I modulate that?


I am using the PIC 16F616 @ 4mhz

Thank You