|
Re: GPS with VEX
We are using Easy C which uses the WPI library. Since it can run the CMU camera on the TTL serial port, it clearly has the functions we require, unfortunately, I can't figure from the WPI documentation what the syntax should be for reading and writing to the serial port. The Parallax runs at 4800 baud, which we set (I think) via a command in our Init function
The issue is that the Prallax need us to send it a command string "!GPS0x05" and then read the reply which is the latitude in decimal format. I am trying to read it into a Long variable, but when I print the value, all I get is -1. We can see from the GPS that it has acquired a fix. I am befuddled
PGR
__________________
Peter Randall
Chairman, Department of Engineering & Robotics
Springside Chestnut Hill Academy
TEAM 1218
|