This page outlines the general concepts needed to write code for a Phidget.
We have created a complete set of Application Programming Interfaces (APIs) for the most popular programming languages, and our software libraries are compatible with all major operating systems.
If you are new to Phidgets, we suggest starting with What is a Phidget?, followed by Phidget Programming Basics, and the user guide for your device. If you are looking for more information, try one of our overview pages:
|
|
Overview Pages
General
|
What is a Phidget? - Here we discuss the very basics of what Phidgets are, and how they can be powerful tools in making your applicaiton.
|
Programming
|
Phidget Programming Basics - Here you can find the basic concepts to help you get started with making your own programs that use Phidgets.
Addressing Phidgets - Learn the various ways you can ensure your program connects to the right Phidgets.
Using Multiple Phidgets - Here we'll show you how simple it is to use multiple Phidgets in your program, as well as some less obvious tips and tricks.
Polling vs. Events - Your program can gather data in either a polling-driven or event-driven manner. Learn the difference to determine which is best for your application.
Data Interval/Change Trigger - Learn about these two properties that control how much data comes in from your sensors.
Logging, Exceptions, and Errors - Learn about all the tools you can use to debug your program.
Best Phidgets Practices - Good programming habits that will save you from common problems when writing code for your Phidgets.
|
Advanced
|
Phidget Network Server - Phidgets can be controlled and communicated with over your network- either wirelessly or over ethernet.
Phidget Dictionary - Share information over the network using the Phidgets API.
Phidget Manager - Keep track of all available Phidgets using the Phidget Manager.
|
Operating System Support
We provide support for all major operating systems. Select your operating system from the table below and follow the Getting Started guide in order to set up your machine. If you need to access non-current versions of our drivers you can find them here. You can find the driver changelog here.
Desktop OS
|
|
|
Windows
|
macOS
|
Linux
|
(Windows 8 or Newer)
|
(macOS 10.11 or Newer)
|
(Kernel 2.6 or Newer)
|
Mobile/Wireless OS
Desktop OSes
Mobile/Wireless OSes
We provide support for a variety of programming languages. Each language has code samples for you to use as well as an in-depth API for you to reference. If you aren't sure which language to use, we recommend using one of our core languages, because they are supported under all major operating systems and have a wide user base. Python is a good choice for new programmers because it's quick to set up.