8 Check Phidget connectivity and circuit correctness

Connect to the Phidget using MATLAB by typing the following into the Command Window:

phidgetInit

You should see the message Connected to a Phidget InterfaceKit device

Verify that the circuit is assembled correctly by typing the following into the Command Window:

setDigitalOutputOn(0)

The LED should turn on. Now type following into the Command Window:

setDigitalOutputOff(0)

The LED should turn off.