|
|
(216 intermediate revisions by 10 users not shown) |
Line 1: |
Line 1: |
| Phidgets’ philosophy is that you do not have to be an electrical engineer in order to do projects that use devices like sensors, motors, motor controllers, and interface boards. All you need to know is how to program.
| | #REDIRECT [[Phidget Programming Basics]] |
| | |
| We have developed a complete set of Application Programming Interfaces (API) that are supported for many different [[#Operating System Support|operating systems]], and which can be used through many different [[#Language Support | programming languages]].
| |
| | |
| We suggest starting with the ''Getting Started'' guide [[Device List|for your device]]. This will help you get a basic example running to check your hardware and drivers.
| |
| | |
| The next step would be to choose your [[#Operating System Support|operating system below]], and from there [[#Language Support|choose a language]], learn about [[General Phidget Programming|how to write code for your Phidget]], and get API references for your [[#Language Support|programming language]].
| |
| | |
| The APIs are covered in more detail in the [[General API|API common to all devices]] and the API that pertains to your [[Device List| specific device]].
| |
| | |
| == Operating System Support ==
| |
| | |
| These operating system pages provide core drivers for using Phidgets. They help you set up your system after following the ''Getting Started'' guide [[Device List|for your Phidget]].
| |
| | |
| These same operating systems links are provided on every ''Getting Started'' guide, so if you have not yet read yours, head straight there.
| |
| | |
| Phidgets can be run either '''directly''' through USB or '''remotely''' over a network via the [[Phidget Webservice]]. Most operating systems below can run Phidgets directly, but a few can only run them over a network.
| |
| | |
| Phidgets can run either directly or over a network on these operating systems:
| |
| | |
| * [[OS - Windows|Windows]]
| |
| * [[OS - Mac OSX|Mac OSX]]
| |
| * [[OS - Linux|Linux]] (Kernel 2.6+)
| |
| * [[OS - Windows CE|Windows CE]] ??
| |
| * [[OS - Android|Android]] (3.1 and above)
| |
| * [[OS- Phidget SBC]]
| |
| | |
| Phidgets can be used over a network by these operating systems:
| |
| | |
| * [[OS - iOS|IPhone iOS]]
| |
| * [[OS - Android|Android]] (3.0 and earlier, or no USB port)
| |
| | |
| == Language Support ==
| |
| | |
| This section outlines what languages you can write code in for Phidgets and how to set them up.
| |
| | |
| We provide a variety of supported languages for using Phidgets. Each language has its own '''libraries''', which may be found on the language pages below. Many languages also depend on the '''core drivers''' being installed as well. These drivers can be found on the [[#Operating System Support|operating system pages]] above.
| |
| | |
| Phidgets can be controlled using our [[General Phidget Programming|high level API]] which allows for either an [[General Phidget Programming#Event Driven Code|event driven]] style of code design, or by traditional [[General Phidget Programming#Logic Code|logic code]]. All languages below support logic code. Most - but not all - languages support our complete API, which includes support for event-driven design.
| |
| | |
| If you are flexible on what language you can use, we suggest choosing a language which supports event-driven code.
| |
| | |
| When you visit the page below for your language, make sure you download:
| |
| #Software libraries
| |
| #Example code
| |
| #The specific API
| |
| | |
| Phidgets have libraries to support '''event driven design''' in the following languages:
| |
| | |
| * [[Language - Adobe Director]]
| |
| * [[Language - Android Java|Android Java]]
| |
| * [[Language - Applescript]]
| |
| * [[Language - AutoIt]]
| |
| * [[Language - C/C++|C/C++]]
| |
| * [[Language - C Sharp|C Sharp]]
| |
| * [[Language - C Sharp (.NET Compact Framework)|C Sharp (.NET)]]
| |
| * [[Language - Cocoa]]
| |
| * [[Language - Cocoa Touch]]
| |
| * [[Language - Delphi]]
| |
| * [[Language - Flash AS3]]
| |
| * [[Language - Flex AS3]]
| |
| * [[Language - iOS]]
| |
| * [[Language - Java|Java]]
| |
| * [[Language - LabVIEW]]
| |
| * [[Language - LiveCode]]
| |
| * [[Language - Max/MSP]]
| |
| * [[Language - Microsoft Robotics Studio]]
| |
| * [[Language - Python|Python]]
| |
| * [[Language - REALBasic]]
| |
| * [[Language - Simulink]]
| |
| * [[Language - Visual Basic .NET]]
| |
| * [[Language - Visual Basic 6.0]]
| |
| * [[Language - Visual Basic for Applications]]
| |
| * [[Language - Visual Basic Script]]
| |
| | |
| | |
| Phidgets have libraries to support only '''logic code''' in the following languages:
| |
| | |
| * [[Language - MATLAB|MATLAB]]
| |
| * ...
| |