Questions tagged [convert]

Change data from one format to another.

Filter by
Sorted by
Tagged with
0
votes
1answer
8k views

How to converte EPOCH time into time and date on Arduino?

I have a question on how to convert EPOCH timestamps, which I receive as char*, into DD.MM.YYYY and HH:MM:SS format seperately? Here are more information to my Arduino project: The Arduino is ...
0
votes
1answer
1k 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)...