I am having trouble with my arduino mega receiving an IR signal with my IR receiver module.
irrecv.decode(&results) seems to work for me only when its coded right after “void loop()”
Basically, I want to receive a simple IR signal after an IR transmission. I am not using an IR remote. I have both a receiver and a transmitter module wired up.
Greatly appreciated, thank you.
United_Code.ino (1.55 KB)