arduino_midi_library icon indicating copy to clipboard operation
arduino_midi_library copied to clipboard

Request for example of multiplexer

Open HanalogInstruments opened this issue 3 years ago • 1 comments

Hi,

Could you made example code of the CD4051 multiplexer with 8 faders? because i use v-usb on atmega328p-pu ( Usnoobie project ) chip to build midi controller

Best regards,

HanalogInstruments avatar Mar 06 '22 05:03 HanalogInstruments

The Arduino playground already has some examples about this:

https://playground.arduino.cc/Learning/4051/

The crux of it is:

  1. Select a fader by setting the three addressing pins
  2. Read its value using analogRead on a single ADC input connected to the CD4051
  3. Repeat

How this relates to your MIDI application is up to you.

franky47 avatar Mar 06 '22 09:03 franky47