Re: [Flashforth-devel] NMEA input
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2016-01-07 17:04:23
|
Something like this comes to mind. Just an example with some code fragments. ram create command 8 allot create param1 8 allot create param2 10 allot : parse-gpgga 4800 baud-set u0- tib dup tibsize accept 'source 2! 0 >in ! ['] , parse command place \ $GPGGA ['] , parse param1 place ['] , parse param2 place \ etcetera ; : parse-nmea 4800 baud-set u0- begin parse-gpgga again ; \ For autostart ' parse-nmea to turnkey BR Mikael On 07.01.2016 11:38, Sven wrote: > Hi, > I have a GPS module with serial NMA0183 output ( 4800 8n1 ) and a > Arduino board with flashforth 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 flashforth. 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 and extract and store the data in table for > example ? > Any ideas ? > > Sven > > > ------------------------------------------------------------------------------ > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |