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, 3 months ago.
gps module em 406
dear all I use gps module em 406 with lpc1768 with its application board. the process carried out successfully with pin 9 and 10. but the problem is when I used pin 27 and 28 instead.
include "mbed.h"
- include "GPS.h"
- include "C12832.h" C12832 lcd(p5, p7, p6, p8, p11); GPS gps(p9, p10);
int main() {
while(1){ if (gps.sample()) lcd.printf("Hi, Sami Alshorman now at %f, %f\n", gps.longitude, gps.latitude); else lcd.printf("error\n"); } } when I us GPS gps(p27,p28) . it give me nothing. please any help . because I use pin 9 and 10 for gprs regards