Skip to content

Instantly share code, notes, and snippets.

@SaheblalBagwan
Last active April 30, 2017 04:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SaheblalBagwan/f3253fdad505d4d72c6d01a6bad2305d to your computer and use it in GitHub Desktop.
Save SaheblalBagwan/f3253fdad505d4d72c6d01a6bad2305d to your computer and use it in GitHub Desktop.
void setup() {
Serial.begin(9600);
}
void loop() {
int color[8] = {COLOR_NONE,COLOR_BLUE,COLOR_GREEN,COLOR_CYAN,COLOR_RED,COLOR_YELLOW,COLOR_MAGNETO,COLOR_WHITE};
for(int i=0;i<8;i++)
{
rgbWrite(color[i]);
delay(1000);
Serial.println("Explore M3");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment