Reference.EsploraReadBlue History

Hide minor edits - Show changes to output

December 07, 2012, at 11:04 PM by Scott Fitzgerald -
Changed lines 11-12 from:
readBlue()
to:
Esplora.readBlue()
Changed line 43 from:
[[EsploraReadRed | readRed()]]
to:
[[EsploraReadRed | readRed()]]
December 04, 2012, at 08:44 PM by Scott Fitzgerald -
Changed lines 7-8 from:
Read the brightness value of the blue led.
to:
Read the brightness value of the blue LED.
Changed lines 19-20 from:
Return the blue colour value in the range from 0 to 255.
to:
int : the brightness of the blue LED between 0 and 255.
Changed line 23 from:
[@
to:
(:source lang=arduino tabwidth=4:)
Changed lines 39-40 from:
@]
to:
(:sourceend:)
Changed lines 42-43 from:
[[EsploraReadRed | readRed()]]\\
[[EsploraReadGreen | readGreen()]]
to:
[[EsploraReadGreen | readGreen()]]\\
[[EsploraReadRed | readRed()]]
December 03, 2012, at 05:27 PM by Federico -
Added lines 1-43:
[[EsploraLibrary | Esplora]]

!!readBlue()

!!!!Description

Read the brightness value of the blue led.

!!!!Syntax

readBlue()

!!!!Parameters

none

!!!!Returns

Return the blue colour value in the range from 0 to 255.

!!!!Example

[@
#include <Esplora.h>

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

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

delay(500);
}
@]

!!!!See also
[[EsploraReadRed | readRed()]]\\
[[EsploraReadGreen | readGreen()]]

Share