I've tried to get SPI example 6 to work but it just gets stuck on Listening for UBX Messages. I would really like to use SPI but can't find any working examples anywhere. A keyboard interrupt gives the following:
Listening for UBX Messages
^CTraceback (most recent call last):
File "gpstest.py", line 62, in <module>
run()
File "gpstest.py", line 50, in run
geo = gps.geo_coords()
File "/home/velotech/workplace/gpsZEDF9P/ublox_gps.py", line 207, in geo_coords
cls_name, msg_name, payload = parse_tool.receive_from(self.hard_port)
File "/home/velotech/workplace/gpsZEDF9P/core.py", line 391, in receive_from
buff = self._read_until(stream, terminator=self.PREFIX)
File "/home/velotech/workplace/gpsZEDF9P/core.py", line 439, in _read_until
c = stream.read(1)
File "/home/velotech/workplace/gpsZEDF9P/ublox_gps.py", line 763, in read
data = self.spi_port.readbytes(read_data)
KeyboardInterrupt
I've tried to get SPI example 6 to work but it just gets stuck on Listening for UBX Messages. I would really like to use SPI but can't find any working examples anywhere. A keyboard interrupt gives the following: