Arduino Function: Esplora.readBlue

Description

Read the brightness value of the blue LED.

Syntax

Esplora.readBlue()

Returns

 int : the brightness of the blue LED between 0 and 255.

Examples

#include <Esplora.h>

void setup()
{
Serial.begin(9600);
}

void loop()
{
int dimmerValue = Esplora.readSlider();
Esplora.writeBlue(dimmerValue);
Serial.println(Esplora.readBlue());

delay(500);
}


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc