thanks Richard. now is clear.

i will get back once i have a working code and establish an IR communication.