title: pySerial reading hex value from MCU
body: <p>i am new to python, i am using 2.7 with spyder</p>
  
  <p>i have an anduino style board running this:</p>
  
  <pre><code>void setup() {
    Serial1.begin(115200);
  }
  
  void loop() {
    Serial1.write(0x80);
  }
  </code></pre>
  
  <p>on my laptop i am not able to read the incoming data neither i am able to assing it to a variable:</p>
  
  <pre><code># -*- coding: utf-8 -*-
  import serial
  print (serial.__version__)
  #3.4
  ser = serial.Serial(
      port='/dev/ttyUSB1',
      baudrate=115200,
      parity=serial.PARITY_NONE,
      stopbits=serial.STOPBITS_ONE,
      bytesize=serial.EIGHTBITS,
      timeout = None
      #timeout = 1
  )
  
  while 1:
      print ser.read()
      a = ser.read()
      print a
  </code></pre>
  
  <p>i really don't understand what i am doing wrong, when i try to assign ser.read() to "a" spyder crash
  i just would like to read the incoming hex value</p>