Pico GPS Teseo I2C
|
#include <string>
#include <chrono>
#include <stdio.h>
#include "pico/stdlib.h"
import teseo;
import nmea;
import port_pico_reset;
import port_pico_communicate;
Go to the source code of this file.
Functions | |
void | print_t (const nmea::time_t &t) |
void | print_d (const std::chrono::year_month_day &t) |
void | print_talker (const nmea::talker_id &talker_id) |
void | test_gll () |
void | test_gsv () |
void | test_gga () |
void | test_rmc () |
void | setCallbacks () |
int | main () |
Variables | |
teseo::teseo | gps |
std::string | reply |
std::array< std::string, NMEA_MAX_REPLIES > | replies |
uint | count |
bool | valid |
int main | ( | ) |
Definition at line 122 of file teseo_with_nmea_parse.cpp.
void print_d | ( | const std::chrono::year_month_day & | t | ) |
Definition at line 31 of file teseo_with_nmea_parse.cpp.
void print_t | ( | const nmea::time_t & | t | ) |
Definition at line 25 of file teseo_with_nmea_parse.cpp.
void print_talker | ( | const nmea::talker_id & | talker_id | ) |
Definition at line 37 of file teseo_with_nmea_parse.cpp.
void setCallbacks | ( | ) |
Definition at line 116 of file teseo_with_nmea_parse.cpp.
void test_gga | ( | ) |
Definition at line 86 of file teseo_with_nmea_parse.cpp.
void test_gll | ( | ) |
Definition at line 54 of file teseo_with_nmea_parse.cpp.
void test_gsv | ( | ) |
Definition at line 69 of file teseo_with_nmea_parse.cpp.
void test_rmc | ( | ) |
Definition at line 100 of file teseo_with_nmea_parse.cpp.
uint count |
Definition at line 22 of file teseo_with_nmea_parse.cpp.
teseo::teseo gps |
Definition at line 14 of file teseo_with_nmea_parse.cpp.
std::array<std::string, NMEA_MAX_REPLIES> replies |
Definition at line 21 of file teseo_with_nmea_parse.cpp.
std::string reply |
Definition at line 15 of file teseo_with_nmea_parse.cpp.
bool valid |
Definition at line 23 of file teseo_with_nmea_parse.cpp.