Reference   Language | Libraries | Comparison | Changes

Esplora

writeBlue()

Description

Write values to the blue LED that correspond to the brightness.

Syntax

Esplora.writeBlue(value)

Parameters

value: int, value to set the blue LED brightness. Range 0 to 255

Returns

nothing

Example

#include <Esplora.h>

void setup() {}

void loop()
{
 for(int i=0; i<256; i++)
 {
  Esplora.writeBlue(i);
  delay(100);
 }
}

See also

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Share