I got a hexstring like "0xFF" and would like to convert the string to byte 0xFF, because an other function needs the value as hexbyte. So something like this:
         String hexstring="0xFF";
         //convert to byte
         byte hexbyte = (byte) 0xFF;
Thanks for helping
 
     
    