changed parsing hex to int to make it work on arduino yun