Arduino Function: Esplora.writeGreen

Description

This function writes values to the green LED that correspond to the brightness.

Syntax

Esplora.writeGreen(value)

Parameters

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

Examples

#include <Esplora.h>

void setup() {}

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


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