Bin Dec Hex Oct Converter

kopite:

  1. How can I ensure that the user input in the serial monitor is a decimal value?

See: isdigit function.

kopite:
2) If I wanted to convert from Hex to Bin, how would i do this and again, how would I ensure that the user input was Hex?

See: isxdigit function.