VERY Basic MIDI Controller Help

Hi all,

Sorry for the late reply.

As it stands, I have created the MIDI circuit shown in 4/5 on this site: http://itp.nyu.edu/physcomp/Labs/MIDIOutput

I've purchased a MIDI to USB cable and would like to use the code to generate notes in Logic. What software do I need to do this? Where am I going wrong?