Updated project to include an ADCDevice class which should read all seven (ADC_CHANNEL_4 not available) analog inputs.

Also included Simulink S-Function code and model file to test.

Actual code untested but it should work (fingers crossed).