sample and boilerplate requested (newb)

Supporting Java SE version 7 and up
CohesiveTechnology
Phidgetly
Posts: 15
Joined: Sat Jun 11, 2011 6:34 pm
Location: Keene, NH USA
Contact:

sample and boilerplate requested (newb)

Postby CohesiveTechnology » Wed Jun 15, 2011 1:46 pm

I have a SBC2 connected to a IFK 0/0/4. Digital inputs 1 through 6 are connected directly to LV switches and the LEDs embedded in those six switches are wired to digital outputs 1 through 6. All of this is known to function.

My goal is to have digital inputs 1 through six monitored continuously from boot. If any switch is true, make the associated digital output (the LED) true. Also Digital inputs 1 through 4 set true changes the state of the corresponding IFK relay to true.

I am a developer, but new to Java and Phidgets. Does anyone have an example that approximates my function?

Most grateful
DJF
DJF

David Falkenstein
Cohesive Technology - seamless is everything

Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest