I am investigating a very similar project. I'll prob. use a 16F84 and have probably 32 knobs but the basics are the same. I would be interested to know how the MIDI merge goes as I was considering adding such a function (or at least have MIDI in for Sysex config. dumps). The main problem I can see is dealing with too much data overflowing the system. How do you mean merge? I would suggest that simply merging your data into the incoming MIDI data with no logic could create problems. Particularly in relation to sysex dumps. I think you would certainly have to watch for sysex dumps and cease your MIDI out when a sysex dump was in progress. I would be most interested to know how it all fits together. Tom. ----- Original Message ----- Subject: Re: ADC multiplexing Stewart Pye wrote: > I need 14 analog inputs on a 16F877. > The application is a midi controller. > It also has to merge incoming midi data......