How do I get the UART data to a string variable?
For example if I want to capture the UART data such as $GPGGA value to a string variable how do I do that?
Below is my sketch:
#include <SoftwareSerial.h>
#include<stdio.h>
#include<string.h>
#define DEBUG true
#define RXPIN 5
#define TXPIN 4
SoftwareSerial mySerial(TXPIN , RXPIN);
char test = mySerial.print();