Am Mittwoch, den 06.01.2016, 10:30 +0000 schrieb Sven:
> Hi,
> I have a GPS module with serial NMA0183 output ( 4800 8n1 ) and a
> Arduino board with amforth installed.
> My idea is to read the NMEA data from the Arduino serial interface
> and display it on a LCD, but the serial port is normally used by the
> terminal session of amforth. Is it possible to detect a NMEA sentence
> like:
> $GPGGA,191410,4735.5634,N,00739.3538,E,1,04,4.4,351.5,M,48.0,M,,*45
> in the input stream ?
> Any ideas ?

You could give recognizers a try. 

http://amforth.sourceforge.net/TG/recipes/Recognizer.html
http://amforth.sourceforge.net/Recognizers.html
http://sourceforge.net/p/amforth/code/HEAD/tree/trunk/examples/time-rec
.frt

They are made for such tasks.

Matthias

------------------------------------------------------------------------------
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to