tttapa / MIDI_controller

This is a library for creating a MIDI controller using an Arduino or Teensy board.
GNU General Public License v3.0
402 stars 70 forks source link

How to use HairlessMIDI_Interface #34

Closed TechJA closed 6 years ago

TechJA commented 6 years ago

Hi, First of all, congrats to your MIDI_controller library.

I'm trying to use your library to send a value obtained from a potentiometer to DAW. Could you please inform me how to instantiate the HairlessMIDI_Interface?

I'm using Arduino Nano with CH340G

Thanks

tttapa commented 6 years ago

Just add HairlessMIDI_Interface hm; at the top of your sketch (after including the library).

TechJA commented 6 years ago

it works, thanks!