Welcome,
I have this difficulty, I read the characters coming from the UART and write them to an array of characters defined as char value [] , the array stores values such as voltage, current and power. There are always 9 characters in the array, 3 for each of the given quantities. I want to take 3 characters out of this array and convert them to an int variable in a way I don't know yet. How can I do this? I am writing the program in arduino.
I have this difficulty, I read the characters coming from the UART and write them to an array of characters defined as char value [] , the array stores values such as voltage, current and power. There are always 9 characters in the array, 3 for each of the given quantities. I want to take 3 characters out of this array and convert them to an int variable in a way I don't know yet. How can I do this? I am writing the program in arduino.