Your SerialEvent() is called at the begining of your loop. ... lines to read #print "state", state while state == '0': # Wait for Arduino to be ready ser.
確定! 回上一頁