Programming Resources: Difference between revisions

From Phidgets Support
No edit summary
(4 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|-
|-


|[[Image:Icon-C++.png|alt=C/C++|24x24px|link=Language - C/C++]] [[Language - C/C++|C/C++]]  
|[[Image:Icon-C.png|alt=C|24x24px|link=Language - C]] [[Language - C|C]]  
|style="background: #f0f0ff" align=center| [[Language - C/C++#Quick Downloads|Quick Downloads]]
|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]]
Line 33: Line 33:
|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 - Android Java]] [[Language - Android Java|Android Java]]
|style="background: #f0f0ff" align=center| [[Language - Java#Quick Downloads|Quick Downloads]]
|style="background: #ade6ab" align=center| All Devices
|style="background: #ade6ab" align=center| [[Image:Icon-Android.png|alt=OS - Android|24x24px|link=OS - Android]]
|-
|-


Line 52: Line 58:
|[[Image:Icon-Swift.png|alt=Cocoa|24x24px|link=Language - Swift]] [[Language - Swift|Swift]]  
|[[Image:Icon-Swift.png|alt=Cocoa|24x24px|link=Language - Swift]] [[Language - Swift|Swift]]  
|style="background: #f0f0ff" align=center| [[Language - Swift#Quick Downloads|Quick Downloads]]
|style="background: #f0f0ff" align=center| [[Language - Swift#Quick Downloads|Quick Downloads]]
|style="background: #FFC17F" align=center| Some Devices<nowiki>*</nowiki>
|style="background: #ade6ab" align=center| All Devices
|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: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]]
|-
|-
Line 75: Line 81:


|}
|}
<nowiki>*</nowiki> If your language does not provide a code example for your Phidget, we recommend the following:
<nowiki>*</nowiki> Objective C has examples for all devices in macOS, but only some devices in iOS. If you're developing an Objective C program for iOS, we recommend that you use the existing examples while referencing the macOS examples for the devices that don't have iOS examples.
*Reference the 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.

Revision as of 19:51, 14 June 2018

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 Sharp C# Quick Downloads All Devices OS - Windows OS - OS X OS - Linux
C C Quick Downloads All Devices OS - Windows OS - OS X OS - Linux
Python Python Quick Downloads All Devices OS - Windows OS - OS X OS - Linux
Java Java Quick Downloads All Devices OS - Windows OS - OS X OS - Linux
Java Android Java Quick Downloads All Devices OS - Android
Other Languages
javascript JavaScript Quick Downloads All Devices OS - Windows OS - OS X OS - Linux
Visual Basic .NET Visual Basic .NET Quick Downloads All Devices OS - Windows
Cocoa Swift Quick Downloads All Devices OS - OS XOS - iOS
ObjC Objective C Quick Downloads Some Devices* OS - OS XOS - iOS
LabVIEW LabVIEW Quick Downloads All Devices OS - Windows
Max/MSP Max/MSP Quick Downloads All Devices OS - Windows OS - OS X

* Objective C has examples for all devices in macOS, but only some devices in iOS. If you're developing an Objective C program for iOS, we recommend that you use the existing examples while referencing the macOS examples for the devices that don't have iOS examples.