hello
i've this code :
void loop() {
while (gpsSerial.available()) {
hauptZeile[hschlecht] = gpsSerial.read();
if (hauptZeile[hschlecht++] == '\n') {
hauptZeile[hschlecht-1] = '\0'; // Ende einer Zeile -> Ende des Strings
if (hauptZeile[0] == '$' && hauptZeile[1] == 'G' && hauptZeile[2] == 'P' && hauptZeile[3] == 'R' && hauptZeile[4] == 'M' && hauptZeile[5] == 'C') {
Serial.println(hauptZeile);// GPRMC..
and i'm new in programming ^^
and i dont know what this means:
if (hauptZeile[hschlecht++] == '\n') {
another example:
if(string[i++]=='\n'
i dont know what the '\n' makes
could someone explain to me ??
thx 4 help