Can somebody give me a lesson on this area?

The code is:
  tty = open("/dev/ttyACM0")
  forever:
    line = tty.readline()


a) How do I read mostly ASCII without crashing when there is non-ASCII?

b) Why is a u-Blox LEA-M8T sending me non-ASCII crap?
  This is coming from the USB port.  It's running in NMEA mode.
  I don't think I have sent it any commands.

-- 
These are my opinions.  I hate spam.



_______________________________________________
devel mailing list
devel@ntpsec.org
https://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to