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?

Postby VytautasDV » Mon Sep 04, 2017 10:07 am

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: 3099
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

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

Postby Patrick » Wed Sep 06, 2017 1:43 pm

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


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest