I get on Arduino Serial a string like "CC", and I need to convert it to a int with decimal value of 0xCC (that is 204).
I found in the Forum, some topics about convert long-long values (convert a big string with hex value, to a very big decimal value), or simply get the hex representation of the ASCII character (like 'C' = 0x43) and this isn't what I want.
Knows someone a function to do the simple conversion ("CC -> 204)?