Reference.EsploraReadGreen History

Hide minor edits - Show changes to output

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

!!readGreen()

!!!!Description

Read the brightness value of the green led.

!!!!Syntax

readGreen()

!!!!Parameters

none

!!!!Returns

Return the green 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.writeGreen(dimmerValue);
Serial.println(Esplora.readGreen());

delay(500);
}
@]

!!!!See also
[[EsploraReadRed | readRed()]]\\
[[EsploraReadBlue | readBlue()]]

Share