Arduino_MKRTHERM - begin()

Initialize the sensor connected to the shield.

Syntax

THERM.begin()

Parameters

None.

Returns

1 on success, 0 on failure.

Example

if (!THERM.begin()) {
    Serial.println("Failed to initialize MKR THERM shield!");
    while (1);
}

See also