US Patent 6,085,192 System and Method for Securely …

Depending upon the control code the Arduino output one in one of the pins and outputs 0 in all the other pins. That is, if the hand co-ordinates are x= 250, y= 75, from the above picture the control code is 1. Arduino reads one from serial port and outputs 1 (HIGH) in the pin connected to the relay which controls forward button on the remote. ................
................