I am using the WIO GPS Tracker
and I am trying to use demo code for the Grove UART port
Code: Select all
#define GrovePowerPin 12
void setup() {
pinMode(GrovePowerPin, OUTPUT);
digitalWrite(GrovePowerPin, HIGH); //power Grove
//SerialUSB.begin(115200);
SerialDBG.begin(115200); //set Grove UART baud rate 115200
}
void loop() {
//SerialUSB.println("Grove UART is sending message");
SerialDBG.println("This is Grove UART");
delay(1000);
}
I do not find any instance of SerialDBG in any files in folder: Seeed_Wio_GPS_Board-master (nor the main Arduino library folders in the application path)
FYI, I am trying to use the port to interface with the Grove 12 Channel Capacitive Touch Keypad (ATtiny1616)
As an aside, I found that with the last update all of the references to SerialUSB must be changed to Serial or i get similar compile errors so perhaps the board files changed?
I have many of the other features of this board working successfully, obtaining GPS coordinates (and even added fetching UTC time to base library), send and receive of SMS messages, writing to a Seeed 0.96" OLED, reading and writing to the SD card, etc, so it doesn't seem to be a basic library problem. It seems to me the writer of the demo sketch has a dependency that defines that Grove uart that I don't have.
Can you offer any help?
Thank you