First time playing with an IR sensor.

Hi there newbie here too.

Just looking through your code

You have data is 0

Then if data is not equal to 125
Then print data.
Take out if statement.

Then use println(ir);
That is what you need to send
Hope tbst helps