IR receiver

This is a simple Ifrared Remote receiver for use where
only the code sent is required.

Connect your IR receiver to +5v and earth and signal
to digital 2.

It blocks until a The IR receives a command of any type.
If the command is valid. That is 16 bits or 4 hex digits
sent at 38 kHz it exits with the command value.
This is the NEC IR transmission protocol.
It works for most common remotes.

Typical outputs from 3 different IRs.
First two hex are address,next two for command.

FFCF
FF67
FFB7

B12D
B1EF
B1CF

FEE7
FE57
FEB7

Find at:GitHub - carl47/arduino-projects-carl47: arduino-projects-carl47