the line is usually high, the output pin is push-pull, never floating, when there is a 38khz modulated infrared signal detected, the pin outputs low, when no infrared is detected, the pin defaults to high. but the low signal only lasts for a small time and defaults to high until the infrared signal disappears for 2ms and reappears
infrared:
______/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
output:
------\________________/-------------------------------------------------------------------------------------
so my first instinct is to pulse the IR in bursts
______/\/\/\/\/\/\/\/\/\/\______________/\/\/\/\/\/\/\/\/\/\______________/\/\/\/\/\/\/\/\/\/\_________
------\________________/-----------------\________________/-----------------\________________/----------
But I'd like it to be
______/\/\/\/\/\/\/\/\/\/\______________/\/\/\/\/\/\/\/\/\/\______________/\/\/\/\/\/\/\/\/\/\__________
------\__________________________________________________________________________________________________