Questions tagged [convert]

Change data from one format to another.

Filter by
Sorted by
Tagged with
0
votes
1answer
952 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)...