Questions tagged [convert]
Change data from one format to another.
1 question
0
votes
1
answer
2k
views
Converting array to char
I'm trying to convert a char array to a char. i used this code
char code[4] = {'1','2','3','4'};
char strcode[4];
void setup()
{
Serial.begin(9600);
}
void loop()
{
memcpy(strcode, code, 4)...