Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI Example 6 does not work #25

Open
KCHBloem opened this issue Oct 26, 2022 · 0 comments
Open

SPI Example 6 does not work #25

KCHBloem opened this issue Oct 26, 2022 · 0 comments

Comments

@KCHBloem
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant