S
Ok, here is the simple program I came up with using the TinyGPS++ library. Hopefully It will help someone else who comes across this same problem. I still don't know what I can do to access the correct GROOVE port since the M5 base is for Core2, but at least I have a temp solution to keep developing my project.
The complete program below works on my Core Gray with pins connecting my AT6550 to 5v, gnd, 16 and 17 on the core. This uses lat, long and speed on a simple display that is easy to read.
#include <M5Stack.h>
#include <TinyGPS++.h>
static const uint32_t GPSBaud = 9600;
TinyGPSPlus gps;
HardwareSerial ss(2);
void setup() {
M5.begin();
M5.Power.begin();
ss.begin(GPSBaud, SERIAL_8N1, 16, 17);
M5.Lcd.setTextSize(4);
M5.Lcd.setCursor(40,10);
M5.Lcd.println("Simple GPS");
M5.Lcd.println("_____________");
}
void loop() {
while (ss.available() > 0)
gps.encode(ss.read());
M5.Lcd.setTextSize(3);
M5.Lcd.setCursor(0,100);
M5.Lcd.printf("Lat: ");
M5.Lcd.setCursor(100,100);
M5.Lcd.print(gps.location.lat(), 6);
M5.Lcd.setCursor(0,150);
M5.Lcd.printf("Lon: ");
M5.Lcd.setCursor(100,150);
M5.Lcd.print(gps.location.lng(), 6);
M5.Lcd.setCursor(0,200);
M5.Lcd.printf("MPH ");
M5.Lcd.setCursor(100,200);
M5.Lcd.print(gps.speed.mph());
}