Questions tagged [convert]

The tag has no usage guidance.

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