HAPSRG / Mbed 2 deprecated GPS_0002

Dependencies:   mbed LoopTicker GPSUBX_UART

main.cpp

Committer:
cocorlow
Date:
2021-09-13
Revision:
0:27bfb46452f0
Child:
1:97c5e20d51a9

File content as of revision 0:27bfb46452f0:

#include "mbed.h"
#include "GPSUBX_UART.hpp"

Serial pc(USBTX, USBRX, 115200);
//GPSUBX gps(PF_0, PF_1, 0x23, +9, 400000);
GPSUBX_UART gps(PD_1, PD_0, 38400, +9);

int main()
{
    gps.Attach();
    while (1)
    {
//        gps.Receive();
    }
}