tttapa / Control-Surface

Arduino library for creating MIDI controllers and other MIDI devices.
GNU General Public License v3.0
1.19k stars 134 forks source link

Board Support: Sparkfun Pro Micro (ATmega32U4 ) #921

Closed denalena closed 1 year ago

denalena commented 1 year ago

I stumbled over this project while trying to implement receiving SysEx with my Sparkfun Pro Micro (clone) and I'm not sure the board is supported by this library (I had trouble compiling an example with PlatformIO), so I open an issue like suggested in the README. I think the board would be a great addition as it works with MIDI over USB, is small, cheap and available with USB-C:

Thanks so much for working on Control-Surface, this project is amazing!

Trickster-git commented 1 year ago

ATmega32U4 work with Control-Surface, try arduino ide.

tttapa commented 1 year ago

Using the Arduino IDE, and using version 1.1.13 of the “SparkFun AVR Boards” core (see https://learn.sparkfun.com/tutorials/qwiic-pro-micro-usb-c-atmega32u4-hookup-guide#mac_linux_boardaddon), the random selection of Control Surface examples I tried compiled without issues.

What error did you get in PlatformIO?

denalena commented 1 year ago

Ahh you are both so right! Just tried it too, works fine. Sorry I didn;t think about that earlier! PlatformIO seems to use some compiler flags or something that makes it more restrictive than the Arduino IDE, for example you can't call functions before they were defined earlier in the file etc. I need to look into that more, but completely different topic.

Thanks!