The module linked to in post#0 is analogue IR, with an adjustable threshold detector (digital out).
The 100 ohm resistor (bottom/right, 101) provides the ~37mA DC LED current.
No modulation at all.
Therefore it has a short range, and is sensitive to ambient light.
Should not be a problem for a line follower though.
Leo..