9 years, 6 months ago.

LPC1768 and MODGPS. Unable to make anything work.

Hi,

I'm trying to receive NMEA gps data with MODGPS on LPC1768. I tried the MODGPS example codes and was struggling to compile the example1 until I noticed few typos. Now the example1.cpp compiles but I think the mBed leds doesn't flash (fast frequency police car type flash with leds 1&4 and 2&3 synchronous) according to the code. I'm also unable to printf anything, like the mbed is not processing the code at all. Has anyone got any suggestions? I'm a learner both in programming and with mBed so help is appreciated. Below is my main.cpp:

  1. define COMPILE_EXAMPLE1_CODE_MODGPS
  2. define PCBAUD 460800
  3. define GPSRX p27
  4. define GPSBAUD 19200 #define PPSPIN p29
  5. include "example1.cpp"
Be the first to answer this question.