Well based on the code i wired my arduino and the TN9 to pins D=2,C=3,A=4,G=GND,V=5V.
But i do not get any readings from the sensor whatsoever. It continously returns " IR / Ambient = Failed"
I should clarify that the TX led is flashing (obviously based on the ms delay in the library you posted it flashes slower/faster).
even if i remove the sensor itself i still get the previous returning message on the Serial Monitor.
Im trying to figure out whether this is a software or wiring problem. Or even a defective sensor.
Im a newbie anyways so i'm pretty sure that the sensor is not defective, i must be doing something wrong.