In this project, you will be converting ASCII strings received from the UART into an integer value that is passed to a provided print function.
Strings will be terminated using a semicolon (;) character.
Your program should be able to handle multiple strings concatenated together and treat each string ending with a ‘;' as a separate input.
When processing strings, it should detect any invalid characters within a string. Invalid characters are any characters other than ‘0' through ‘9' and ‘;'.
If an invalid character is detected the rest of the string (i.e. all characters leading up to and including the next ‘;') should be received by the UART, but ignored.
Your program should then use the print function to output an error message and then continue processing the next string as a new string.