import serial
import Adafruit_BBIO.UART as UART
UART.setup("UART1")
GPS = serial.Serial('/dev/ttyO1', 9600)

while (1):
	while GPS.inWaiting()==0:
		pass
	NMEA=GPS.readline()
	print NMEA

b181d3791fc17a3134ce98c2dbc95cdcc59f908e
import serial
import Adafruit_BBIO.UART as UART
UART.setup("UART1")
GPS = serial.Serial('/dev/ttyO1', 9600)

while (1):
	while GPS.inWaiting()==0:
		pass
	NMEA=GPS.readline()
	print NMEA
