EOSBandi wrote:Mac9 wrote:Hi EOSBandi,
"You are doing something wrong. Try getting the code again. I compiles just fine with #define NMEA on Arduino 1.0.1"
Thanks for your rapid reply. I have down loaded I2C_GPS_NAV-v2.1rc again on two different computers, laptop and desktop, both running Win 7. I also downloaded Arduinio 1.0.1 again on to the laptop. Still the same problem after 4 tries. With #define NEMA commented all is well, with it un commented same error. So i decided to "have a go" at the syntax, probable stupid of me as: a. I am no programmer and b. I known very little about C++. I now find that if I delete the curly brace at the of line 1250 "if (GPS_NMEA_newFrame(Serial.read()))" then the sketch compiles and down loads without a problem. I am, however afraid that I may have changed the logic of the program and hence stopped it from working as designed.I have as yet not had time to fly the Navigatron with soft ware down loaded but unless you tell me this would be unwise I will do so On Sunday. Thanks again for your responce so far I am looking forward to hearing your thoughts.
Code: Select all
/* GPS protocol
* NMEA - Standard NMEA protocol GGA, GSA and RMC sentences are needed
* UBLOX - U-Blox binary protocol, use the ublox config file (u-blox-config.ublox.txt) from the source tree
* MTK - MTK binary protocol with auto setup, load (AXN1.51_2722_3329_384.1151100.5.bin) firmware to the GPS module (MTK3329 chips only)
* With MTK and UBLOX you don't have to use GPS_FILTERING in multiwii code !!!
Are you sure that you uncommented ONLY one protocol ?
Thanks a lot and yes you are correct I had two #defines uncommented. Another dumb mistake by me
All now seems OK but didn't fly on Sunday went North sea Fishing as it was raining in UK now a busy week so will not be able to fly until next week end.