![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
JGtoJR
Dependencies: MODSERIAL Watchdog
main.h@0:1c1c9f47b8ad, 2017-06-15 (annotated)
- Committer:
- JavierGC
- Date:
- Thu Jun 15 12:01:36 2017 +0000
- Revision:
- 0:1c1c9f47b8ad
JG_to_JR
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JavierGC | 0:1c1c9f47b8ad | 1 | #ifndef _main_H_ |
JavierGC | 0:1c1c9f47b8ad | 2 | #define _main_H_ |
JavierGC | 0:1c1c9f47b8ad | 3 | |
JavierGC | 0:1c1c9f47b8ad | 4 | #include "mbed.h" |
JavierGC | 0:1c1c9f47b8ad | 5 | #include "PC.h" |
JavierGC | 0:1c1c9f47b8ad | 6 | #include "GV.h" |
JavierGC | 0:1c1c9f47b8ad | 7 | #include "Watchdog.h" |
JavierGC | 0:1c1c9f47b8ad | 8 | |
JavierGC | 0:1c1c9f47b8ad | 9 | Watchdog wd; |
JavierGC | 0:1c1c9f47b8ad | 10 | |
JavierGC | 0:1c1c9f47b8ad | 11 | GV gv; |
JavierGC | 0:1c1c9f47b8ad | 12 | |
JavierGC | 0:1c1c9f47b8ad | 13 | void PCEventHandler(int e, char *data); |
JavierGC | 0:1c1c9f47b8ad | 14 | PC pc(&gv, NC, USBTX, USBRX, PCEventHandler); |
JavierGC | 0:1c1c9f47b8ad | 15 | |
JavierGC | 0:1c1c9f47b8ad | 16 | char InitialMessage[50]; |
JavierGC | 0:1c1c9f47b8ad | 17 | |
JavierGC | 0:1c1c9f47b8ad | 18 | void GetConfig(void); |
JavierGC | 0:1c1c9f47b8ad | 19 | void Setup(void); |
JavierGC | 0:1c1c9f47b8ad | 20 | void GetDate(void); |
JavierGC | 0:1c1c9f47b8ad | 21 | |
JavierGC | 0:1c1c9f47b8ad | 22 | //LocalFileSystem local("local"); |
JavierGC | 0:1c1c9f47b8ad | 23 | |
JavierGC | 0:1c1c9f47b8ad | 24 | #endif /* _main_H_ */ |
JavierGC | 0:1c1c9f47b8ad | 25 | |
JavierGC | 0:1c1c9f47b8ad | 26 | |
JavierGC | 0:1c1c9f47b8ad | 27 | |
JavierGC | 0:1c1c9f47b8ad | 28 | |
JavierGC | 0:1c1c9f47b8ad | 29 |