Last Updated: February 25, 2016
·
47.66K
· wensonsmith

Arduino String to Char*

char* string2char(String command){
    if(command.length()!=0){
        char *p = const_cast<char*>(command.c_str());
        return p;
    }
}