Skip to content

Instantly share code, notes, and snippets.

@cchase88
Created January 2, 2013 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cchase88/4438717 to your computer and use it in GitHub Desktop.
Save cchase88/4438717 to your computer and use it in GitHub Desktop.
String my_word = "chris";
void loop(){
for(int character = 0; character < my_word.length(); character++){
switch ( my_word.charAt(character) ){
case 'c':
c();
break;
case 'h':
h();
break;
case 'r':
r();
break;
case 'i':
i();
break;
case 's':
s();
break;
}
}
delay(outer_delay);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment