Well, for one thing I get a low voltage at D13 when using the pullup resistor. When it should be low, it is at 0V, but at high it is 1.7V, sometimes 3.3-3.4V. I can't figure out if my Nano is broken, my laptop is putting out not enough power, or my setup is bad. I am making a MIDI saxophone, and it has 11 key stitches which are NC connected to pullup resistors, going to D2 -D13, leaving 9 for PWM output. D13 is the only screwup, so I just switched it over to A2 and put a resistor until I can figure it out.
I used the ardumidi.h library, and this is my real question:
I get an error -
Arduino: 1.8.5 (Mac OS X), Board: "Arduino Nano, ATmega328P"
^
Using library ardumidi in folder: /Users/gramaw/Documents/Arduino/libraries/ardumidi (legacy)
exit status 1
Error compiling for board Arduino Nano.
Does this mean I need to use a different microcontroller? If so, which one? I really like the Nano, it is perfect size for my project, and has just the right amount of I/O. I am using 8 analog inputs, 2 DIO for MIDI, 11 for key switches, PWM output, and 4 buttons. Any guidance would be appreciated. I am happy to post the code if that might be part of the problem, but the error makes me think that the microcontroller is simply not compatible with the library. Is that the case? and how should I proceed from here?