![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Gets current time from the PC over a serial connection
Python script available on the wiki page
Parser.h@0:c8dd8b2c6942, 2015-11-12 (annotated)
- Committer:
- mbedDevLondon
- Date:
- Thu Nov 12 19:17:47 2015 +0000
- Revision:
- 0:c8dd8b2c6942
Converted to FRDM board
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbedDevLondon | 0:c8dd8b2c6942 | 1 | #ifndef PARSER_H |
mbedDevLondon | 0:c8dd8b2c6942 | 2 | #define PARSER_H |
mbedDevLondon | 0:c8dd8b2c6942 | 3 | |
mbedDevLondon | 0:c8dd8b2c6942 | 4 | #define ERROR 1 |
mbedDevLondon | 0:c8dd8b2c6942 | 5 | #define NOERROR 0 |
mbedDevLondon | 0:c8dd8b2c6942 | 6 | |
mbedDevLondon | 0:c8dd8b2c6942 | 7 | extern char *commandTokens[20]; |
mbedDevLondon | 0:c8dd8b2c6942 | 8 | |
mbedDevLondon | 0:c8dd8b2c6942 | 9 | char validateCommandSentence(char *pSentence); |
mbedDevLondon | 0:c8dd8b2c6942 | 10 | void parseCommandSentence( char *pBuffer); |
mbedDevLondon | 0:c8dd8b2c6942 | 11 | char calcChecksum(char *pSentence); |
mbedDevLondon | 0:c8dd8b2c6942 | 12 | |
mbedDevLondon | 0:c8dd8b2c6942 | 13 | |
mbedDevLondon | 0:c8dd8b2c6942 | 14 | |
mbedDevLondon | 0:c8dd8b2c6942 | 15 | #endif |