Arduino Combine multiple char array to single
Budget: ₹600 – ₹1,500 INR
float setPH=10.40;
char testStr[30];
char temp[12];
unsigned int temp1=setPH*100;
itoa(temp1, temp, 10);
i want to combine the array temp & "-" to testStr
so that when i print the testStr i should get "10.40-"
char testStr[30];
char temp[12];
unsigned int temp1=setPH*100;
itoa(temp1, temp, 10);
i want to combine the array temp & "-" to testStr
so that when i print the testStr i should get "10.40-"