#9 How to manage multiple inputs?

version 3.1
closed-fixed
Input (6)
5
2014-04-19
2012-02-08
Warren Gill
No

I want to create a MIDI merge box, using two serial ports on an Arduino for input, and a single output. Would I have to duplicate the whole library and call each one independently for each port?

Discussion

  • Francois BEST

    Francois BEST - 2012-02-17

    Yes, however you will have to specify a way to pass the serial port as an argument of the constructor, in order to use two objects at the same time. Replace the USE_SERIAL_PORT macro to select which port to send the data to.

     
  • Francois BEST

    Francois BEST - 2014-04-19
    • status: open --> closed-fixed
    • assigned_to: Francois BEST
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks