Programming Resources: Difference between revisions

From Phidgets Support
No edit summary
Line 1: Line 1:
[[Category:Overview]]
[[Category:Overview]]
==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 [[Language - Python|Python]], because it is quick to learn.
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 [[Language - Python|Python]], because it is quick to learn.


{| style="border:1px solid darkgray;" cellpadding="7px;"
<div class="LangTableFull">
|-style="background: #f0f0f0" align=center
== Core Languages ==
! Language || Libraries || Code Samples || OS Support
{|class="table-no-border"
|style="text-align:center;"|[[Image:Logo-C.png|alt=C|link=Language - C|120px]]
|style="text-align:center;"|[[Image:Logo-CSharp.png|alt=C#|link=Language - C Sharp|120px]]
|style="text-align:center;"|[[Image:Logo-Python.png|alt=Python|link=Language - Python|120px]]
|style="text-align:center;"|[[Image:Logo-Java.png|alt=Java|link=Language - Java|120px]]
|style="text-align:center;"|[[Image:Logo-Javascript.png|alt=JavaScript|link=Language - JavaScript|120px]]
|-
|-
|style="text-align:center;"| [[Language - C|C]]
|style="text-align:center;"| [[Language - C Sharp|C#]]
|style="text-align:center;"| [[Language - Python|Python]]
|style="text-align:center;"| [[Language - Java|Java]]
|style="text-align:center;"| [[Language - JavaScript|JavaScript]]
|}


|[[Image:Icon-CSharp.png|alt=C Sharp|24x24px|link=Language - C Sharp]] [[Language - C Sharp|C#]]
== Mobile Languages ==
|style="background: #f0f0ff" align=center| [[Language - C Sharp#Quick Downloads|Quick Downloads]]
{|class="table-no-border"
|style="background: #ade6ab" align=center| All Devices
|style="text-align:center;"|[[Image:Logo-AndroidJava.png|alt=Android Java|link=Language - Android Java|120px]]
|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="text-align:center;"|[[Image:Logo-Swift.png|alt=Swift|link=Language - Swift|120px]]
|style="text-align:center;"|[[Image:Logo-ObjC.png|alt=Objective C|link=Language - Objective C|120px]]
|-
|-
|style="text-align:center;"| [[Language - Android Java|Java (Android)]]
|style="text-align:center;"| [[Language - Swift|Swift]]
|style="text-align:center;"| [[Language - Objective C|Objective C]]
|}


|[[Image:Icon-C.png|alt=C|24x24px|link=Language - C]] [[Language - C|C]]
== Other Languages ==
|style="background: #f0f0ff" align=center| [[Language - C#Quick Downloads|Quick Downloads]]
{|class="table-no-border"
|style="background: #ade6ab" align=center| All Devices
|style="text-align:center;"|[[Image:Logo-VBNet.png|alt=VB.Net|link=Language_-_Visual_Basic_.NET|120px]]
|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="text-align:center;"|[[Image:Logo-LabVIEW.png|alt=LabVIEW|link=Language - LabVIEW|120px]]
|style="text-align:center;"|[[Image:Logo-MaxMSP.png|alt=Max/MSP|link=Language_-_Max/MSP|120px]]
|-
|-
 
|style="text-align:center;"| [[Language - Visual Basic .NET|VB]]
|[[Image:Icon-Python.png|alt=Python|24x24px|link=Language - Python]] [[Language - Python|Python]]  
|style="text-align:center;"| [[Language - LabVIEW|LabVIEW]]
|style="background: #f0f0ff" align=center| [[Language - Python#Quick Downloads|Quick Downloads]]
|style="text-align:center;"| [[Language_-_Max/MSP|Max/MSP]]
|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]]
</div>
<div class="LangTableSmall">
'''Core Languages'''
{|class="table-no-border"
|style="width:50px;"|[[Image:Logo-C.png|alt=C|link=Language - C|30px]]||[[Language - C|C]]
|-
|-
 
|[[Image:Logo-CSharp.png|alt=C#|link=Language - C Sharp|30px]]||[[Language - C Sharp|C#]]
|[[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: #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-Android.png|alt=OS - Android|24x24px|link=OS - Android]]
|-
|-
 
|[[Image:Logo-Python.png|alt=Python|link=Language - Python|30px]]||[[Language - Python|Python]]
|[[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:Logo-Java.png|alt=Java|link=Language - Java|30px]]||[[Language - Java|Java]]
|[[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 - Visual Basic .NET#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:Logo-Javascript.png|alt=JavaScript|link=Language - JavaScript|30px]]||[[Language - JavaScript|JavaScript]]
|[[Image:Icon-Swift.png|alt=Cocoa|24x24px|link=Language - Swift]] [[Language - Swift|Swift]]  
|}
|style="background: #f0f0ff" align=center| [[Language - Swift#Quick Downloads|Quick Downloads]]
'''Mobile Languages'''
|style="background: #ade6ab" align=center| All Devices
{|class="table-no-border"
|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="width:50px;"|[[Image:Logo-AndroidJava.png|alt=Android Java|link=Language - Android Java|30px]]||[[Language - Android Java|Java (Android)]]
|-
|-
 
|[[Image:Logo-Swift.png|alt=Swift|link=Language - Swift|30px]]||[[Language - Swift|Swift]]
|[[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:Logo-ObjC.png|alt=Objective C|link=Language - Objective C|30px]]||[[Language - Objective C|Objective C]]
|[[Image:Icon-LabVIEW.png|alt=LabVIEW|24x24px|link=Language - LabVIEW]] [[Language - LabVIEW|LabVIEW]]  
|}
|style="background: #f0f0ff" align=center| [[Language - LabVIEW#Quick Downloads|Quick Downloads]]
'''Other Languages'''
|style="background: #ade6ab" align=center| All Devices
{|class="table-no-border"
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]]
|style="width:50px;"|[[Image:Logo-VBNet.png|alt=VB.Net|link=Language_-_Visual_Basic_.NET|30px]]||[[Language - Visual Basic .NET|VB]]
|-
|-
 
|[[Image:Logo-LabVIEW.png|alt=LabVIEW|link=Language - LabVIEW|30px]]||[[Language - LabVIEW|LabVIEW]]
|[[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: #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:Logo-MaxMSP.png|alt=Max/MSP|link=Language_-_Max/MSP|30px]]||[[Language_-_Max/MSP|Max/MSP]]
|}
|}
<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.
</div>

Revision as of 21:29, 10 August 2023


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 Python, because it is quick to learn.

Core Languages

C C# Python Java JavaScript
C C# Python Java JavaScript

Mobile Languages

Android Java Swift Objective C
Java (Android) Swift Objective C

Other Languages

VB.Net LabVIEW Max/MSP
VB LabVIEW Max/MSP

Core Languages

C C
C# C#
Python Python
Java Java
JavaScript JavaScript

Mobile Languages

Android Java Java (Android)
Swift Swift
Objective C Objective C

Other Languages

VB.Net VB
LabVIEW LabVIEW
Max/MSP Max/MSP