38KHz infrared receiver
Using the receiver
The receiver can be used in two ways:
- Use the IR Remote to send infrared commands.
- Click on the receiver (while the simulation is running) to send arbitrary NEC-encoded IR signals. The user interface lets you specify both the address and the command fields on the NEC message.
To read the commands from your Arduino Code, you can use the IRRemote or IRMP libraries.