Can I include both IR Emitter & IR Receiver in 1 board?

Hello,

the demo of seeed wiki used them on two board, so if you want to install both of them on one board, you need to write code yourself.

And The problem is that readDigitalPin()only read the high/low of the pin, and the IR Emitter&Recivers translate a data package a time, I do not suggest you complete your project with matlab, or you need to rewrite the whole library.