Alert.png

Notice: This page contains information for the legacy Phidget21 Library.

Phidget21 is out of support. Bugfixes may be considered on a case by case basis.

Phidget21 does not support VINT Phidgets, or new USB Phidgets released after 2020. We maintain a selection of legacy devices for sale that are supported in Phidget21.

We recommend that new projects be developed against the Phidget22 Library.


Click on the 2phidget22.jpg button in the menu bar to go to the Phidget22 version of this page.

Alert.png

Template:UsingAPhidgetInCodeGeneral

From Phidgets Legacy Support
Revision as of 18:07, 14 November 2011 by Cora (talk | contribs)

You can use a Phidget in code by essentially by:

  1. Opening it,
  2. Setting it up,
  3. Doing things with it (like reading data), and
  4. Closing it.

These steps are generally outlined for all devices and languages on the General Phidget Programming page. The General Phidget Programming page also introduces using the Phidget in an event-driven manner or in a traditional manner, {{{1}}}.

The complete set of functions you have available for all Phidgets can be found in the {{{2}}}.

If you are looking for more information about a particular function, we provide that as well. You can find more description on any function either in:

  1. Our API Overview which describes the set of calls common to all Phidgets, or
  2. The Device API page for calls available only on your specific Phidget.