system
1
I am running the arduino GSM shield and the cellnumber needs to be in Char format.
the issue is I an receiving that information from an ethernet shield in String format.
How can i convert the two.
char(X) does not work, nor does leaving it in string format.
Thanks
char buf[30];
your_string.toCharArray(buf, sizeof(buf));
system
3
the issue is I an receiving that information from an ethernet shield in String format.
Best advice would be to quit doing that. The String class is great for one thing - fragmenting memory. You don't have enough of it to start with.