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.
|
Template:UsingAPhidgetInCodeGeneral
- {{{2}}}
- General API (more help on functions common to all Phidgets)
- Device Specific APIs (more help on functions specific to your Phidget)
You can use a Phidget in code by essentially by:
- Opening it,
- Setting it up,
- Doing things with it (like reading data), and
- 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:
- Our API Overview which describes the set of calls common to all Phidgets, or
- The Device API page for calls available only on your specific Phidget.