0

I've now got an Ultimate GPS board attached to the UART, and use both the GPIO pins, and the SPI interface by addressing the pigpio library. The pigpiod docs tell me that pigpiod would control the UART, too, but then it would probably interfere with the gpsd, which already controls the UART.

Any suggestions?

1

pigpio can control the UART - but it only does so if you ask it to, by making a C call to serOpen() (or it's equivalent from Python, pigs, etc).

So the solution is don't use pigpio to control the UART, that will leave the UART available for GPSD to control,

|improve this answer|||||
  • You meant serial_open(), dindn't you? – Neppomuk Jan 28 '18 at 17:58
  • 1
    Yes, serial_open() is the name of the function used by the Python module and the pigpiod I/F C library. Both eventually call the underlying C serOpen() function. – joan Jan 28 '18 at 18:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.