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

Arduino String to Char*

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