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.

  • 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

You probably forgot:

  • To include Esplora.h in your sketch.
  • To select "Esplora" for the board.
| improve this answer | |

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