Arduino_MKRRGB - begin()

Initialize the matrix device.

Syntax

MATRIX.begin()

Parameters

None.

Returns

1 on success, 0 on failure.

Example

if (!MATRIX.begin()) {
    Serial.println("Failed to initialize the display!");
    while (1);
}

See also