Last active
December 23, 2016 05:29
-
-
Save orejuelajd/664ac83bd84e778d87de32f8b0c540da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Metodo para convertir un String a char* en arduino | |
``` | |
char* string2char(String command) { | |
if (command.length() != 0) { | |
char *p = const_cast<char*>(command.c_str()); | |
return p; | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment