Reference.EsploraWriteGreen History

Hide minor edits - Show changes to markup

December 07, 2012, at 11:04 PM by Scott Fitzgerald -
Changed lines 11-12 from:

writeGreen(value)

to:

Esplora.writeGreen(value)

Changed line 41 from:
to:
December 04, 2012, at 08:41 PM by Scott Fitzgerald -
Changed lines 7-8 from:

Write to the green led the brightness value.

to:

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

Changed lines 11-12 from:

writeGreen(greenValue)

to:

writeGreen(value)

Changed lines 15-17 from:

green: this valute is to set the green led brightness. Range: from 0 to 255

to:

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

Changed line 24 from:

[@

to:
Changed lines 37-38 from:

@]

to:
Changed lines 40-42 from:
to:
December 03, 2012, at 05:08 PM by Federico -
Changed lines 40-41 from:
to:
December 03, 2012, at 05:07 PM by Federico -
Added lines 1-41:

Esplora

writeGreen()

Description

Write to the green led the brightness value.

Syntax

writeGreen(greenValue)

Parameters

green: this valute is to set the green led brightness. Range: from 0 to 255

Returns

nothing

Example

#include <Esplora.h>

void setup() {} 

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

See also

readRed()
readBlue()

Share