Update USBkeyboard.c

Function char_to_hex, moved to header file