-3

This question already has an answer here:

So I'm trying to turn my Arduino Esplora into a controller, and my first step is to understand how the controller works. I've copied and pasted this code into the Arduino 1.8.2 IDE.

Esplora.writeRGB(255, 255, 255); // sets red, green and blue all to full brightness

But I get an error saying,

exit status 1 'Esplora' does not name a type

Please explain why it's doing this.

marked as duplicate by user31481, gre_gor, per1234, SDsolar, jose can u c Nov 21 '17 at 21:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 4
    Please edit your question to include a Minimal, Complete, and Verifiable example of code, not just a snippet. Make sure all the library names are shown, all the variable declarations, and all the function definitions – so people don't have to waste time guessing what you did or what you meant. Also make it verifiable, ie so it can be compiled and tested, allowing other people to test their theories about the problem. – James Waldby - jwpat7 Jun 7 '17 at 4:39
  • 1
    Please also take the tour at arduino.stackexchange.com/Tour to get the most out of this site. – SDsolar Jun 7 '17 at 4:40
0

You probably forgot:

  • To include Esplora.h in your sketch.
  • To select "Esplora" for the board.

Not the answer you're looking for? Browse other questions tagged or ask your own question.