One channel with reference Gnd...4,16V is activated by:
Iow56 dev56 = devs.getIow56Device();
ADC adc = new ADC(1,7,0);
dev56.addSpecialModeFunctionImpl(adc);
This method allows reading the first channel at any time:
int val = adc.getValue(0);
A Change Listener is also available. This call back function is called when the value changed.
IOWJ (advertising) supports new SpecialModeFunction ADC of IO-Warrior 56
Moderator: Guido Körber