Arduino Function: Esplora.writeRed

Description

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

Syntax

Esplora.writeRed(value)

Parameters

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

Examples

#include <Esplora.h>

void setup() {}

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


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