Stupid question (baud rates)
skatj
Posts: 88
I am writing a program that uses both the PSC and the Parallax GPS receiver, however both of them use a constant called 'Baud' that is different for both of them. I'm not exactly sure what it is for, but I read some other source code and they renamed the GPS baud to "Baudg". I ran the GPS demo code and used find..replace to replace every instance of Baud with Baudg to see if it would work, but the debug showed that there was no response from the GPS when I ran it. The GPS demo worked fine when it was just 'Baud'.
Any suggestions?
Any suggestions?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A complex design is the sign of an inferior designer." - Jamie Hyneman, Myth Buster
DGSwaner
You’ll need to create another constant such as PSCBaud and alter the SEROUT commands for the PSC to use that constant instead. I hope this helps. Take care.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support