Lets try this, two Fuel Cutoff Levers
Since I have been working on Mycockpit.org for some time, I have not touched my Phidgets for a while. But they are waiting for me there and maybe your questions will get me going again. :D
The two switches/two poles each I have wired direct to Phidgets (and PM) are the Fuel Cutoff Levers. Here is what I did.
I have a 12 volt power supply
+ red positive
- black negative
The black is simple, it goes to the G (ground) on the Phidget board
Actually the red is equally simple. It's goes like a serial chain to the center poles of each Fuel Cutoff Lever Switch.
+ Red to center pole of switch 1, and from there it continues to center pole of switch 2 (in my case it ends there, but you could make it continue on to a next switch.
Now the "hard part" :p
A seperate wire goes from the remaining pole on the switch 1 to connection 0 on the Phidget board.
Another seperate wire goes from the remaining pole on the switch 2 to connection 1 on the Phidget board.
When the switch is open (off) it will have value 0
Once the switch closes the circuit (on) it will have value 1
All you need to do is to edit the file phidgets.txt in the PM systems directory and look for the Digital Input entries like
12763 DI00
12763 DI01
Now add the variable name for the Fuel Cutoff Levers behind the corresponding DI number to match the Phidget terminal number where you connected the wire. In this case it should be enough as it is a simple on/off switch.
Hope this gets you going.
Next is to try a rotary, haven't been there myself yet, because I also use the CPflight MIP board (in combination with MCP) and here all I have to do is connect the wires to the terminals as described in the manual. Very simple, no programming required. But if you like we can try to wire the APU start switch next, or the ENG start rotary...