Data input via serial UART

PaulS:

or, convert the Char to an int?

int n = c - '0';

For one digit numbers, that works.

Thanks Paul (again!)