Go Down

Topic: IDE 1.0.4 Esplora Example Errata (Read 1 time) previous topic - next topic

TheKitty

This topic is an FYI on errata in the Esplora 1.0.4 examples and is meant as an aid to the Arduino team.

1. Function EsploraWriteRGB - http://arduino.cc/en/Reference/EsploraWriteRGB

#include <Esplora.h>

void setup() {}

void loop()
{
Esplora.writeRGB(0, 128, 255);
delay(1000);
Esplora.writeRGB(255, 0, 128);
delay(1000);
Esplora.writeRGB(128, 255, 0);
}

Remedy: should have a line "delay(1000); after the last line in loop function else that last color is not displayed long enough to notice the color change.

2. Esplora.tone - http://arduino.cc/en/Reference/EsploraTone
    Esplora.noTone - http://arduino.cc/en/Reference/EsploraNoTone

No example given

Remedy: refer to example http://arduino.cc/en/Tutorial/EsploraMusic which uses both functions.

3. Example Page http://arduino.cc/en/Reference/EsploraLibrary

Text: "EsploraLightCalibrator : Read the values from the accelerometer"

Remedy: Read as: "EsploraLightCalibrator : Read the values from thelight sensor"

Go Up