Open santta opened 5 years ago
and is it possible to somehow set specific change parameters for CHANGE_CHANNEL and CHANGE_ADDRESS?
You probably want to use this setting:
- Multiple momentary switches (push buttons)
Pressing one of the buttons selects the respective output: When starting the program, bankSetting 1 is selected, When the second button is pressed, bankSetting 2 is selected, When the n-th button is pressed, bankSetting n is selected.
BankSelector(bank, { button 1 pin, button 2 pin, ... , button n pin } )
See https://github.com/tttapa/MIDI_controller/wiki/Library-documentation#appendix-a-bankselector-modes
Description of the problem or question
In my project, I use 4 switches (latch) and 4 LEDs. I need to use unique bankSetting on each of the switches, how can I do this?
Steps to reproduce the problem
I want to use BankSelektor like this: when all switches are turned off, bankSetting 1 is selected. When I turn on each switch (one at a time), I need to switch bankSetting 2, bankSetting 3, bankSetting 4, bankSetting 5 and at the same time the LED turns on.
This is necessary in order to establish specific values of the channel or notes when changing banks.
Hardware
Arduino MEGA 2560
Software versions:
MIDI Controller library: 3.1.0 Arduino IDE: 1.8.8 Operating System: Windows 10
Full code
The goal of your project and aditional information
I create my midi controller for working with images