gaSerialDevice()

Syntax

gaSerialDevice()

Example

function draw()
    gaBackground(0.0,1.0)

    ofSetColor(255)
    info = string.format("Connected serial device: %s",gaSerialDevice())
    ofDrawBitmapString(info,200,100)
end

Description

A reference of the connected serial device, that can be an arduino or another serial device, like a usb DMX controller for example.

Returns

«String, The connected serial device name.