https://parzibyte.me/blog/2018/11/19/entero-a-partir-de-digito-hexadecimal-c/
Obtener valor entero a partir de dígito hexadecimal en C