JAVA Phidget22 API InterfaceKit 8/8/8 EXAMPLE?

Supporting Java SE version 7 and up
VytautasDV
Phidgetsian
Posts: 6
Joined: Fri Jul 07, 2017 4:37 am
Contact:

Re: JAVA Phidget22 API InterfaceKit 8/8/8 EXAMPLE?

Post by VytautasDV »

I think so, because you use DigitalInput() method and not VoltageInput().
I myself never tested digital inputs. Never had a chance. I would suggest if you have the kit just to test it.
User avatar
Patrick
Lead Developer
Posts: 3399
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: JAVA Phidget22 API InterfaceKit 8/8/8 EXAMPLE?

Post by Patrick »

Yes that's right, the channel index matches what is printed on the physical device. There can be multiple channel 0's, as long as they have different classes.

-Patrick
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests