tttapa / Control-Surface

Arduino library for creating MIDI controllers and other MIDI devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arduino UNO

KinoLab07 opened this issue · comments

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

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).

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...

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