This was posted on the PJRC website. Here's the link.

https://www.pjrc.com/easy-MIDI-chord-controller/