Firstly, strip the white and brown leads. Push these through the PC board. Then, connect the battery holder's negative (black) lead to whichever colour lead is connected to pin 6 (probably brown). Connect pin 2 to one pin of the momentary action switch and the positive wire to the other.
Connect a 9-volt battery and proceed to test with a multimeter before connecting up to the computer.
Output stage
Attach the two LEDs to an unused section of the PC board. Try to keep it seperate from the input stage, to assist in faultfinding (sic), and also for safety reasons.
Then, using hook-up wire, attach the LEDs to the orange and blue wires in reverse polarity. In other words, the long pin of one LED should be wired in parallel with the short pin of another LED.
Tes t by applying current to the PC board, or by sticking wire into pin 3 and 6.
As the I/O share common ground, please do not try to make multi-tasking programs!
Don't forget to make an entry for the cable before soldering it to the
PC board, unless you want to drill a semi-circular opening at the bottom.