I try to use analogWrite(9, pwm_value) to write a value and the program stalls on self.__sendData(hex_value[1]). I can print a message just prior to this command. Also, somewhat related in your README you have analogRead twice while the second describes analogWrite. Thanks.