Skip to main content

Questions tagged [convert]

Change data from one format to another.

Filter by
Sorted by
Tagged with
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)...
Cyber_Star's user avatar