tttapa / MIDI_controller

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

Cant upload encoder exmple to arduino mega #114

Open GalDotan opened 1 year ago

GalDotan commented 1 year ago

Hi, I have been trying to upload the example encoder file to my arduino mega and i get this error:

file included from C:\Users\User\Documents\Arduino\libraries\MIDI_controller-3.1.1\src/MIDI_Controller.h:20:0, from C:\Users\User\Documents\Arduino\libraries\MIDI_controller-3.1.1\examples\Ex.03.Rotary-Encoder\Ex.03.Rotary-Encoder.ino:20: c:\users\user\documents\arduino\libraries\midi_controller-3.1.1\src\midi_outputs\rotaryencoder.hpp:5:10: fatal error: Encoder.h: No such file or directory

include "Encoder.h"

      ^~~~~~~~~~~

compilation terminated. exit status 1 Error compiling for board Arduino Mega or Mega 2560.

I am new to arduino and MIDI someone can help me please?

tttapa commented 1 year ago

Hi, as mentioned in the README, I no longer offer support for the MIDI Controller library. Please use the Control Surface library instead, which has improved encoder support. See e.g. https://tttapa.github.io/Control-Surface-doc/Doxygen/d2/d1f/RotaryEncoder_8ino-example.html.