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

Arduino UNO #945

Open KinoLab07 opened 10 months ago

KinoLab07 commented 10 months ago

Hi, I've an arduino UNO that is hacked with hiduino and is recognize now as MIDI controller...

Did anyone have use this board with rotary encoder... I'm quite loose on how configure it with a mcp23017.

Thanks

tttapa commented 10 months ago

Yes, the Arduino UNO can be used with rotary encoders, and this is supported by Control Surface, both with and without an MCP23017.
Keep in mind that performance may be poor without interrupt pins (of which the UNO only has 2).

KinoLab07 commented 10 months ago

Ok, I know the poor performance of the UNO, but is the one that I've for testing for the moment... The hole project is with 64 rotary, and for that I'll buy a teensy or a due.. Anyway...

My problem is that I'm Trying this exemple: https://tttapa.github.io/Control-Surface-doc/Doxygen/d7/dac/MCP23017-RotaryEncoder-No-Interrupts_8ino-example.html

I've conected the rotary encoder to the GPA0 and GPA1 pin of the mcp23017 and the INT A to the pin12 (I've also try to connect to pin3 ) of the arduino and nothing happen.

The SDA and SCL to pin A4 and A5 of arduino... and nothing happen..

Sooo I don't know where is the problem...

tttapa commented 10 months ago

Did you connect the rest of the pins correctly? Reset/enable, address pins, decoupling caps ...