Products for USB Sensing and Control
Products for USB Sensing and Control

Code Samples


Important Note: If you are unsure which example you will need from this page, we recommend looking at the Resources tab of the Product Page for your device for a list of compatible examples.

Language:

APIDetailLanguageOS
VoltageRatioInput C Multiple Download
VoltageRatioInput C# Windows Download
VoltageRatioInput Java Multiple Download
VoltageRatioInput Java Android Download
VoltageRatioInput JavaScript Nodejs Download
VoltageRatioInput JavaScript Browser Download
VoltageRatioInput Objective-C macOS Download
VoltageRatioInput Swift macOS Download
VoltageRatioInput Swift iOS Download
VoltageRatioInput Python Multiple Download
VoltageRatioInput Visual Basic .NET Windows Download
VoltageRatioInput Max/MSP Multiple Download
DigitalInput C Multiple Download
DigitalInput C# Windows Download
DigitalInput Java Multiple Download
DigitalInput Java Android Download
DigitalInput JavaScript Nodejs Download
DigitalInput JavaScript Browser Download
DigitalInput Multi-Channel Example JavaScript Browser Download
DigitalInput Objective-C macOS Download
DigitalInput Swift macOS Download
DigitalInput Swift iOS Download
DigitalInput Python Multiple Download
DigitalInput Visual Basic .NET Windows Download
DigitalInput Max/MSP Multiple Download
DigitalOutput C Multiple Download
DigitalOutput C# Windows Download
DigitalOutput Java Multiple Download
DigitalOutput Java Android Download
DigitalOutput JavaScript Nodejs Download
DigitalOutput JavaScript Browser Download
DigitalOutput Multi-Channel Example JavaScript Browser Download
DigitalOutput Objective-C macOS Download
DigitalOutput Swift macOS Download
DigitalOutput Swift iOS Download
DigitalOutput Python Multiple Download
DigitalOutput Visual Basic .NET Windows Download
DigitalOutput Max/MSP Multiple Download
RCServo C Multiple Download
RCServo C# Windows Download
RCServo Java Multiple Download
RCServo Java Android Download
RCServo JavaScript Nodejs Download
RCServo JavaScript Browser Download
RCServo Objective-C macOS Download
RCServo Swift macOS Download
RCServo Swift iOS Download
RCServo Python Multiple Download
RCServo Visual Basic .NET Windows Download
RCServo Max/MSP Multiple Download
VoltageOutput C Multiple Download
VoltageOutput C# Windows Download
VoltageOutput Java Multiple Download
VoltageOutput Java Android Download
VoltageOutput JavaScript Nodejs Download
VoltageOutput JavaScript Browser Download
VoltageOutput Objective-C macOS Download
VoltageOutput Swift macOS Download
VoltageOutput Swift iOS Download
VoltageOutput Python Multiple Download
VoltageOutput Visual Basic .NET Windows Download
VoltageOutput Max/MSP Multiple Download
Accelerometer C Multiple Download
Accelerometer C# Windows Download
Accelerometer Java Multiple Download
Accelerometer Java Android Download
Accelerometer JavaScript Nodejs Download
Accelerometer JavaScript Browser Download
Accelerometer Objective-C macOS Download
Accelerometer Swift macOS Download
Accelerometer Swift iOS Download
Accelerometer Python Multiple Download
Accelerometer Visual Basic .NET Windows Download
Accelerometer Max/MSP Multiple Download
VoltageInput C Multiple Download
VoltageInput C# Windows Download
VoltageInput Java Multiple Download
VoltageInput Java Android Download
VoltageInput JavaScript Nodejs Download
VoltageInput Multi-Channel Example JavaScript Browser Download
VoltageInput JavaScript Browser Download
VoltageInput Objective-C macOS Download
VoltageInput Swift macOS Download
VoltageInput Swift iOS Download
VoltageInput Python Multiple Download
VoltageInput Visual Basic .NET Windows Download
VoltageInput Max/MSP Multiple Download
CapacitiveTouch C Multiple Download
CapacitiveTouch C# Windows Download
CapacitiveTouch Java Multiple Download
CapacitiveTouch Java Android Download
CapacitiveTouch JavaScript Nodejs Download
CapacitiveTouch JavaScript Browser Download
CapacitiveTouch Objective-C macOS Download
CapacitiveTouch Swift macOS Download
CapacitiveTouch Swift iOS Download
CapacitiveTouch Python Multiple Download
CapacitiveTouch Visual Basic .NET Windows Download
CapacitiveTouch Max/MSP Multiple Download
RFID C Multiple Download
RFID C# Windows Download
RFID Java Multiple Download
RFID Java Android Download
RFID JavaScript Nodejs Download
RFID JavaScript Browser Download
RFID Objective-C macOS Download
RFID Swift macOS Download
RFID Swift iOS Download
RFID Python Multiple Download
RFID Visual Basic .NET Windows Download
RFID Max/MSP Multiple Download
GPS C Multiple Download
GPS C# Windows Download
GPS Java Multiple Download
GPS Java Android Download
GPS JavaScript Nodejs Download
GPS JavaScript Browser Download
GPS Objective-C macOS Download
GPS Swift macOS Download
GPS Swift iOS Download
GPS Python Multiple Download
GPS Visual Basic .NET Windows Download
GPS Max/MSP Multiple Download
Gyroscope C Multiple Download
Gyroscope C# Windows Download
Gyroscope Java Multiple Download
Gyroscope Java Android Download
Gyroscope JavaScript Nodejs Download
Gyroscope JavaScript Browser Download
Gyroscope Objective-C macOS Download
Gyroscope Swift macOS Download
Gyroscope Swift iOS Download
Gyroscope Python Multiple Download
Gyroscope Visual Basic .NET Windows Download
Gyroscope Max/MSP Multiple Download
Magnetometer C Multiple Download
Magnetometer C# Windows Download
Magnetometer Java Multiple Download
Magnetometer Java Android Download
Magnetometer JavaScript Nodejs Download
Magnetometer JavaScript Browser Download
Magnetometer Objective-C macOS Download
Magnetometer Swift macOS Download
Magnetometer Swift iOS Download
Magnetometer Python Multiple Download
Magnetometer Visual Basic .NET Windows Download
Magnetometer Max/MSP Multiple Download
Spatial Compass Calibrator C Multiple Download
Spatial C Multiple Download
Spatial C# Windows Download
Spatial Compass Calibrator C# Windows Download
Spatial Java Multiple Download
Spatial Java Android Download
Spatial JavaScript Nodejs Download
Spatial JavaScript Browser Download
Spatial Objective-C macOS Download
Spatial Swift macOS Download
Spatial Swift iOS Download
Spatial Python Multiple Download
Spatial Visual Basic .NET Windows Download
Spatial Max/MSP Multiple Download
TemperatureSensor C Multiple Download
TemperatureSensor C# Windows Download
TemperatureSensor Java Multiple Download
TemperatureSensor Java Android Download
TemperatureSensor JavaScript Nodejs Download
TemperatureSensor JavaScript Browser Download
TemperatureSensor Objective-C macOS Download
TemperatureSensor Swift macOS Download
TemperatureSensor Swift iOS Download
TemperatureSensor Python Multiple Download
TemperatureSensor Visual Basic .NET Windows Download
TemperatureSensor Max/MSP Multiple Download
Encoder C Multiple Download
Encoder C# Windows Download
Encoder Java Multiple Download
Encoder Java Android Download
Encoder JavaScript Nodejs Download
Encoder JavaScript Browser Download
Encoder Objective-C macOS Download
Encoder Swift macOS Download
Encoder Swift iOS Download
Encoder Python Multiple Download
Encoder Visual Basic .NET Windows Download
Encoder Max/MSP Multiple Download
FrequencyCounter C Multiple Download
FrequencyCounter C# Windows Download
FrequencyCounter Java Multiple Download
FrequencyCounter Java Android Download
FrequencyCounter JavaScript Nodejs Download
FrequencyCounter JavaScript Browser Download
FrequencyCounter Objective-C macOS Download
FrequencyCounter Swift macOS Download
FrequencyCounter Swift iOS Download
FrequencyCounter Python Multiple Download
FrequencyCounter Visual Basic .NET Windows Download
FrequencyCounter Max/MSP Multiple Download
IR C Multiple Download
IR C# Windows Download
IR Java Multiple Download
IR Java Android Download
IR JavaScript Nodejs Download
IR JavaScript Browser Download
IR Objective-C macOS Download
IR Swift macOS Download
IR Swift iOS Download
IR Python Multiple Download
IR Visual Basic .NET Windows Download
IR Max/MSP Multiple Download
PHSensor C Multiple Download
PHSensor Java Multiple Download
PHSensor Java Android Download
PHSensor JavaScript Nodejs Download
PHSensor JavaScript Browser Download
PHSensor Objective-C macOS Download
PHSensor Swift macOS Download
PHSensor Swift iOS Download
PHSensor Python Multiple Download
PHSensor Visual Basic .NET Windows Download
PHSensor Max/MSP Multiple Download
DCMotor C Multiple Download
DCMotor C# Windows Download
DCMotor Java Multiple Download
DCMotor Java Android Download
DCMotor JavaScript Nodejs Download
DCMotor JavaScript Browser Download
DCMotor Objective-C macOS Download
DCMotor Swift macOS Download
DCMotor Swift iOS Download
DCMotor Python Multiple Download
DCMotor Visual Basic .NET Windows Download
DCMotor Max/MSP Multiple Download
CurrentInput C Multiple Download
CurrentInput C# Windows Download
CurrentInput Java Multiple Download
CurrentInput Java Android Download
CurrentInput JavaScript Nodejs Download
CurrentInput JavaScript Browser Download
CurrentInput Objective-C macOS Download
CurrentInput Swift macOS Download
CurrentInput Swift iOS Download
CurrentInput Python Multiple Download
CurrentInput Visual Basic .NET Windows Download
CurrentInput Max/MSP Multiple Download
Stepper C Multiple Download
Stepper C# Windows Download
Stepper Java Multiple Download
Stepper Java Android Download
Stepper JavaScript Nodejs Download
Stepper JavaScript Browser Download
Stepper Objective-C macOS Download
Stepper Swift macOS Download
Stepper Swift iOS Download
Stepper Python Multiple Download
Stepper Visual Basic .NET Windows Download
Stepper Max/MSP Multiple Download
LCD C Multiple Download
LCD C# Windows Download
LCD Java Multiple Download
LCD Java Android Download
LCD JavaScript Nodejs Download
LCD JavaScript Browser Download
LCD Graphic LCD Examples Objective-C macOS Download
LCD Text LCD Example Objective-C macOS Download
LCD Graphic LCD Example Swift macOS Download
LCD Text LCD Example Swift macOS Download
LCD Text LCD Example Swift iOS Download
LCD Python Multiple Download
LCD Visual Basic .NET Windows Download
LCD Max/MSP Multiple Download
LCD Graphic LCD Example Max/MSP Multiple Download
DataAdapter C Multiple Download
DataAdapter Python Multiple Download
MotorPositionController C Multiple Download
MotorPositionController PID Tuner C# Windows Download
MotorPositionController Java Multiple Download
MotorPositionController JavaScript Nodejs Download
MotorPositionController JavaScript Browser Download
MotorPositionController Objective-C macOS Download
MotorPositionController Swift macOS Download
MotorPositionController Swift iOS Download
MotorPositionController Python Multiple Download
MotorPositionController Visual Basic .NET Windows Download
MotorPositionController Max/MSP Multiple Download
BLDCMotor C Multiple Download
BLDCMotor Java Multiple Download
BLDCMotor Java Android Download
BLDCMotor JavaScript Nodejs Download
BLDCMotor Objective-C macOS Download
BLDCMotor Swift macOS Download
BLDCMotor Swift iOS Download
BLDCMotor Python Multiple Download
BLDCMotor Max/MSP Multiple Download
DistanceSensor C Multiple Download
DistanceSensor C# Windows Download
DistanceSensor Java Multiple Download
DistanceSensor Java Android Download
DistanceSensor JavaScript Nodejs Download
DistanceSensor JavaScript Browser Download
DistanceSensor Objective-C macOS Download
DistanceSensor Swift macOS Download
DistanceSensor Swift iOS Download
DistanceSensor Python Multiple Download
DistanceSensor Visual Basic .NET Windows Download
DistanceSensor Max/MSP Multiple Download
HumiditySensor C Multiple Download
HumiditySensor C# Windows Download
HumiditySensor Java Multiple Download
HumiditySensor Java Android Download
HumiditySensor JavaScript Nodejs Download
HumiditySensor JavaScript Browser Download
HumiditySensor Objective-C macOS Download
HumiditySensor Swift macOS Download
HumiditySensor Swift iOS Download
HumiditySensor Python Multiple Download
HumiditySensor Visual Basic .NET Windows Download
HumiditySensor Max/MSP Multiple Download
LightSensor C Multiple Download
LightSensor C# Windows Download
LightSensor Java Multiple Download
LightSensor Java Android Download
LightSensor JavaScript Nodejs Download
LightSensor JavaScript Browser Download
LightSensor Objective-C macOS Download
LightSensor Swift macOS Download
LightSensor Swift iOS Download
LightSensor Python Multiple Download
LightSensor Visual Basic .NET Windows Download
LightSensor Max/MSP Multiple Download
PressureSensor C Multiple Download
PressureSensor C# Windows Download
PressureSensor Java Multiple Download
PressureSensor Java Android Download
PressureSensor JavaScript Nodejs Download
PressureSensor JavaScript Browser Download
PressureSensor Objective-C macOS Download
PressureSensor Swift macOS Download
PressureSensor Swift iOS Download
PressureSensor Python Multiple Download
PressureSensor Visual Basic .NET Windows Download
PressureSensor Max/MSP Multiple Download
PowerGuard C Multiple Download
PowerGuard C# Windows Download
PowerGuard Java Android Download
PowerGuard JavaScript Nodejs Download
PowerGuard JavaScript Browser Download
PowerGuard Objective-C macOS Download
PowerGuard Swift macOS Download
PowerGuard Swift iOS Download
PowerGuard Python Multiple Download
PowerGuard Visual Basic .NET Windows Download
PowerGuard Max/MSP Multiple Download
SoundSensor C Multiple Download
SoundSensor C# Windows Download
SoundSensor Java Multiple Download
SoundSensor Java Android Download
SoundSensor JavaScript Nodejs Download
SoundSensor JavaScript Browser Download
SoundSensor Objective-C macOS Download
SoundSensor Swift macOS Download
SoundSensor Swift iOS Download
SoundSensor Python Multiple Download
SoundSensor Visual Basic .NET Windows Download
SoundSensor Max/MSP Multiple Download
ResistanceInput C Multiple Download
ResistanceInput C# Windows Download
ResistanceInput Java Multiple Download
ResistanceInput Java Android Download
ResistanceInput JavaScript Nodejs Download
ResistanceInput JavaScript Browser Download
ResistanceInput Objective-C macOS Download
ResistanceInput Swift macOS Download
ResistanceInput Swift iOS Download
ResistanceInput Python Multiple Download
ResistanceInput Visual Basic .NET Windows Download
ResistanceInput Max/MSP Multiple Download
Dictionary C Multiple Download
Dictionary C# Windows Download
Dictionary Java Multiple Download
Dictionary Java Android Download
Dictionary JavaScript Nodejs Download
Dictionary JavaScript Browser Download
Dictionary Objective-C macOS Download
Dictionary Swift macOS Download
Dictionary Swift iOS Download
Dictionary Python Multiple Download
Dictionary Visual Basic .NET Windows Download
Manager Hello World C Multiple Download
Manager Hello World C# Windows Download
Manager Hello World Java Multiple Download
Manager Hello World Java Android Download
Manager JavaScript Nodejs Download
Manager JavaScript Browser Download
Manager Hello World Objective-C macOS Download
Manager Objective-C iOS Download
Manager Hello World Swift macOS Download
Manager Hello World Python Multiple Download
Manager Hello World Visual Basic .NET Windows Download
Net Max/MSP Multiple Download
Log C Multiple Download
Log C# Windows Download
Log Java Multiple Download
Log Python Multiple Download