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.
11 years, 6 months ago.
Alternate wiring diagram still true?
Hi Andy,
I've been trying out MODgps by using some of the example code you have provided. I was using the alternate wiring you suggested on the cookbook MODGPS page, where p25/p26 can be used as a serial port instead of p13/14. I managed to compile the different example codes and get LEDs to flash but only get zeros printed to PC. I switched back to one of the normal serial ports (p27/28) and instantly got time stamp readings. Just wanted to check that this alternate wiring is still in existence or if I'm not setting up the port correctly (just using: GPS gps(NC, p25);).
The only other thing that might be effecting my setup is I have another sensor wired into p13/14 that is transmitting uart data, but as I haven't set these pins in the code I don't see how this could be a problem.
Nathan
Question relating to:
1 Answer
11 years, 6 months ago.
The UART at p25/p26 is indeed shared with the one at p13/p14. But that shouldn't be a problem, unless you actually somewhere declared them as UART pins.