Programming Resources: Difference between revisions
From Phidgets Support
(19 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Overview]] | [[Category:Overview]] | ||
==Language Support== | ==Language Support== | ||
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 a ''Core Language'': | |||
We provide a variety of | |||
{| style="border:1px solid darkgray;" cellpadding="7px;" | {| style="border:1px solid darkgray;" cellpadding="7px;" | ||
|-style="background: #f0f0f0" align=center | |-style="background: #f0f0f0" align=center | ||
! Language || Libraries | ! Language || Libraries || Code Samples || OS Support | ||
|- | |- | ||
Line 16: | Line 11: | ||
|- | |- | ||
|[[Image:Icon-CSharp.png|alt=C Sharp|24x24px|link=Language - C Sharp | |[[Image:Icon-CSharp.png|alt=C Sharp|24x24px|link=Language - C Sharp]] [[Language - C Sharp|C#]] | ||
|style="background: #f0f0ff" align=center| [[Language - C Sharp#Quick Downloads|Quick Downloads]] | |style="background: #f0f0ff" align=center| [[Language - C Sharp#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | ||
|- | |- | ||
|[[Image:Icon-C | |[[Image:Icon-C.png|alt=C|24x24px|link=Language - C]] [[Language - C|C]] | ||
|style="background: #f0f0ff" align=center| [[Language - C | |style="background: #f0f0ff" align=center| [[Language - C#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | ||
|- | |- | ||
|[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python | |[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python]] [[Language - Python|Python]] | ||
|style="background: #f0f0ff" align=center| [[Language - Python#Quick Downloads|Quick Downloads]] | |style="background: #f0f0ff" align=center| [[Language - Python#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | ||
|- | |- | ||
|[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Java | |[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Java]] [[Language - Java|Java]] | ||
|style="background: #f0f0ff" align=center| [[Language - Java#Quick Downloads|Quick Downloads]] | |style="background: #f0f0ff" align=center| [[Language - Java#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | ||
|- | |- | ||
|[[Image:Icon- | |[[Image:Icon-Java.png|alt=Java|24x24px|link=Language - Android Java]] [[Language - Android Java|Android Java]] | ||
|style="background: #f0f0ff" align=center| [[Language - | |style="background: #f0f0ff" align=center| [[Language - Java#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Android.png|alt=OS - Android|24x24px|link=OS - Android]] | |||
|style="background: #ade6ab" align=center| [[Image:Icon- | |||
|- | |- | ||
| | |colspan="5"|'''Other Languages''' | ||
|- | |- | ||
| | |[[Image:Icon-Javascript.png|alt=javascript|24x24px|link=Language - JavaScript]] [[Language - JavaScript|JavaScript]] | ||
|style="background: #f0f0ff" align=center| [[Language - JavaScript#Quick Downloads|Quick Downloads]] | |||
|style="background: #ade6ab" align=center| All Devices | |||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | |||
|- | |- | ||
|[[Image:Icon- | |[[Image:Icon-Visual Basic Net.png|alt=Visual Basic .NET|24x24px|link=Language - Visual Basic .NET]] [[Language - Visual Basic .NET|Visual Basic .NET]] | ||
|style="background: #f0f0ff" align=center| [[Language - | |style="background: #f0f0ff" align=center| [[Language - Visual Basic .NET#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] | |||
|style="background: #ade6ab" align=center| [[Image:Icon- | |||
|- | |- | ||
|[[Image:Icon- | |[[Image:Icon-Swift.png|alt=Cocoa|24x24px|link=Language - Swift]] [[Language - Swift|Swift]] | ||
|style="background: #f0f0ff" align=center| [[Language - | |style="background: #f0f0ff" align=center| [[Language - Swift#Quick Downloads|Quick Downloads]] | ||
|style="background: # | |style="background: #FFC17F" align=center| Some Devices<nowiki>*</nowiki> | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]][[Image:Icon-iOS.png|alt=OS - iOS|link=OS - iOS|24x24px|link=OS - iOS]] | |||
|style="background: #ade6ab" align=center| [[Image: | |||
| | |||
|- | |- | ||
| | |[[Image:Icon-ObjC.png|alt=ObjC|24x24px|link=Language - Objective C]] [[Language - Objective C|Objective C]] | ||
|style="background: #f0f0ff" align=center| [[Language - Objective C#Quick Downloads|Quick Downloads]] | |||
|style="background: #FFC17F" align=center| Some Devices<nowiki>*</nowiki> | |||
|style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]][[Image:Icon-iOS.png|alt=OS - iOS|link=OS - iOS|24x24px|link=OS - iOS]] | |||
|- | |- | ||
|[[Image:Icon-LabVIEW.png|alt=LabVIEW|24x24px|link=Language - LabVIEW | |[[Image:Icon-LabVIEW.png|alt=LabVIEW|24x24px|link=Language - LabVIEW]] [[Language - LabVIEW|LabVIEW]] | ||
|style="background: #f0f0ff" align=center| [[Language - LabVIEW#Quick Downloads|Quick Downloads]] | |style="background: #f0f0ff" align=center| [[Language - LabVIEW#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] | ||
|- | |- | ||
|[[Image:Icon-MaxMSP.png|24x24px|alt=Max/MSP|link=Language - Max/MSP | |[[Image:Icon-MaxMSP.png|24x24px|alt=Max/MSP|link=Language - Max/MSP]] [[Language - Max/MSP|Max/MSP]] | ||
|style="background: #f0f0ff" align=center| [[Language - Max/MSP#Quick Downloads|Quick Downloads]] | |style="background: #f0f0ff" align=center| [[Language - Max/MSP#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] | ||
|- | |- | ||
|} | |} | ||
<nowiki>*</nowiki> | <nowiki>*</nowiki> If your language does not provide a code example for your Phidget, we recommend the following: | ||
*Reference the {{Phidget22API}} for your Phidget. The API will provide information about all the functions available to use with your Phidget. | |||
*Take a look at the code samples that ''are'' available in your language. These will give you an idea of how to structure your code. | |||
*Reference the code samples for your Phidget in other programming languages. | |||
Revision as of 19:31, 12 December 2017
Language Support
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 a Core Language:
Language | Libraries | Code Samples | OS Support | |
---|---|---|---|---|
Core Languages | ||||
C# | Quick Downloads | All Devices | ||
C | Quick Downloads | All Devices | ||
Python | Quick Downloads | All Devices | ||
Java | Quick Downloads | All Devices | ||
Android Java | Quick Downloads | All Devices | ||
Other Languages | ||||
JavaScript | Quick Downloads | All Devices | ||
Visual Basic .NET | Quick Downloads | All Devices | ||
Swift | Quick Downloads | Some Devices* | ||
Objective C | Quick Downloads | Some Devices* | ||
LabVIEW | Quick Downloads | All Devices | ||
Max/MSP | Quick Downloads | All Devices |
* If your language does not provide a code example for your Phidget, we recommend the following:
- Reference the Phidget22 API for your Phidget. The API will provide information about all the functions available to use with your Phidget.
- Take a look at the code samples that are available in your language. These will give you an idea of how to structure your code.
- Reference the code samples for your Phidget in other programming languages.