Table of Contents

API Reference


The DUELink core library provided for multiple languages (such as Python) gives the user an easy access to the available feature through a nicely designed API.

API Description
Analog Read or Write analog pins
Bluetooth Set name or pin code for bluetooth
Button Read a button. Similar to Digital read but handles debounce
Controller Area Network (CAN) Read or write message on CAN
Digital Read or write digital pins
Distance Read ultrasonic distance sensor
Frequency Generate frequency on a specific pin. This uses hardware PWM internally
I2C Access the I2C bus for transferring data
Infrared Read and decode IR remote control signal
LCD Draw on LCD (device specific)
LED Control the on-board LED
NeoPixel Control smart color LEDs
Pulse Generate pulse. Great for controlling stepper motors
Script Allows for expanding the system with custom scripts for advanced users
Servo Control servo motors
Sound Generate sound
SPI Access the SPI data bus
System Functions Built-in functions
Temp-Humidity Works with DHT sensors
Touch Allows for capacitive touch sensing
UART Transfer data on the UART serial port