DigitalOut:
Filter:
Classes | UGens > Bela

DigitalOut : UGen : AbstractFunction : Object

Write data to a digital output
Source: BelaUGens.sc

Description

Writes digital data to a digital output (e.g.: an LED or a trigger/gate output).

NOTE: This UGen only works on Bela.
NOTE: If you want to modulate the pin number, you should use the UGen DigitalIO

Class Methods

DigitalOut.ar(digitalPin: 0, output: 0, mul: 1.0, add: 0.0)

Arguments:

digitalPin

Digital pin number to write to. Pin numbers begin at 0. This value cannot be modulated.

output

Value to write out to the pin - the value will be 1 when the argument is larger than 0, otherwise 0.

mul
add

DigitalOut.kr(digitalPin: 0, output: 0, mul: 1.0, add: 0.0)

Arguments:

digitalPin

Digital pin number to write to. Pin numbers begin at 0. This value cannot be modulated.

output

Value to write out to the pin - the value will be 1 when the argument is larger than 0, otherwise 0.

mul
add

Inherited class methods

Instance Methods

Inherited instance methods

Undocumented instance methods

.numOutputs

.writeOutputSpecs

Examples