Help me code my Leonardo with capacative 'Charlie Brown' keyboard. :)

Hey everyone!

I'm pretty green but I am making things!

I made a controller with an atmega32u4. But I don't know how to get the pins I have selected to be recognised and assigned to MIDI values in IDE.

I am using 12 pins; 19, 20, 21, 22, 25, 26, 27, 28, 29, 30, 31, 32.

I was following a tutorial on instructables and looking to merge it into my project. https://www.instructables.com/id/How-to-Make-a-Cheap-Arduino-MIDI-Controller/

Here is what I have!


If someone could help me work out how to test this out in IDE, then flash this as a MIDI device over USB that would be great! (if a bit of a stretch). I am going to document this and upload it to git with all the files and maybe a tutorial if I find the time.