Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of Nucleo_GPS by
Revision 3:03e5370e74a3, committed 2017-01-28
- Comitter:
- mikawataru
- Date:
- Sat Jan 28 13:15:00 2017 +0000
- Parent:
- 2:59b33f158822
- Child:
- 4:ccc66c37d3f1
- Commit message:
- USB?????
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Nov 21 04:17:17 2016 +0000 +++ b/main.cpp Sat Jan 28 13:15:00 2017 +0000 @@ -1,6 +1,9 @@ /* 説明 -Nucleo-F303K8とGPSモジュールを使ったサンプルプログラム +Nucleo-F303K8とGPSモジュールを使ったサンプルプログラム. + +使用GPS +http://akizukidenshi.com/catalog/g/gK-09991/ 参考 http://www.hiramine.com/physicalcomputing/general/gps_nmeaformat.html @@ -17,7 +20,7 @@ DigitalOut myled(LED1); Serial gps(D1, D0); // tx, rx -Serial pc(PA_2, PA_3); // tx, rx +Serial pc(USBTX, USBRX); // tx, rx int i,rlock,mode; char gps_data[256],gps2_data[256]; char ns,ew;
