Hi am new on arduino programming.
I need to transfer all char array content to single char object.Does this possible ?If it is,can you help me .
Thank you for your knowledge
I suspect that you have to give a better description of what you want to achieve and why. But below does exactly what you describe.
char arr[10];
char ch;
for(int cnt=0; cnt<sizeof(arr);cnt++)
{
ch=arr[cnt];
}
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.