Closed Malensky closed 4 years ago
I'm unable to reproduce this using 28ed279942c5fbe289151901182a303edf46bf5c and Arduino IDE version 1.8.9, AVR Core 1.8.2. The code you posed (as well as the Dual MIDI Interface example) compiles fine for me.
Hello, thank you for your quick reply! So, any guess where it migth go sideways? Thanks again, Malen
C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note: candidate: CS::BidirectionalMIDI_Pipe& CS::operator|(CS::TrueMIDI_SinkSource&, CS::BidirectionalMIDI_Pipe&)
inline BidirectionalMIDI_Pipe &operator|(TrueMIDI_SinkSource &sinksource,
^~~~~~~~
C:\Users\Malen Malenov\Documents\Arduino\libraries\Control-Surface-master\src/MIDI_Interfaces/MIDI_Pipes.hpp:477:32: note: no known conversion for argument 1 from 'CS::Control_Surface_' to 'CS::TrueMIDI_SinkSource&'
This part of the error message indicates that Control_Surface_
doesn't inherit from TrueMIDI_SinkSource
, but clearly, it does in the latest version:
https://github.com/tttapa/Control-Surface/blob/28ed279942c5fbe289151901182a303edf46bf5c/src/Control_Surface/Control_Surface_Class.hpp#L26-L27
The only explanation I can come up with is that you're not using the latest master
version.
Thank you! I will look into it! Again, brilliant work! Warmly, Malen
Yes, just removed and reinstalled my Arduino IDE and the included libraries. It works now!!! Many thanks!!!!
Glad to hear!
Hello,
I have successfully built an Ardunio Leonardo-based midi controller with your amazing library, kudos for that! It has 6 pots, 2 momentary switches, a rotary encoder and a bank-selector switch. It is fully fucntional over USB-midi, however wanted it to send midi over 5-din MIDI at the same time. I tried using the DUAL-interface example but it gives me an error while compiling. I am pretty new at this but as far as I understand it does not recognize part of the library... Apologies if I speak nonsense.
You may see the code and the error message below. Sincere thanks for all your work and for any assistance with this!
Kind regards, Malen
ERROR MESSAGE: