Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 5 months ago.
mbed lpc 1768 with mbed application board connecting to gps module 406a any help?
mbed lpc 1768 with mbed application board connecting to gps module 406a. I need to display the coordinates on application board LCD
#include "mbed.h" #include "GPS.h" #include "C12832.h" C12832 lcd(p5, p7, p6, p8, p11); GPS gps(p9, p10); int main() { gps.sample(); lcd.locate (0,3); lcd.printf("Hi......Sami Alshorman now at %f, %f\n", gps.longitude, gps.latitude); }
I did not get anything but if I remove gps.sample() I get zeros any help ??
which GPS library are you using? A reference?
posted by Martin Kojtal 23 Jun 2014