2014 Freescale / Hack A Day Make It Challenge FRDM-K64 Internet of "Thing"

Dependencies:   mbed

Committer:
emh203
Date:
Thu Apr 10 21:14:23 2014 +0000
Revision:
0:423d5729e94e
1st add.  Used for final demo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
emh203 0:423d5729e94e 1 /*
emh203 0:423d5729e94e 2
emh203 0:423d5729e94e 3 --------------------------------------------
emh203 0:423d5729e94e 4 | |
emh203 0:423d5729e94e 5 | .... |
emh203 0:423d5729e94e 6 | 7OO$?I78. |
emh203 0:423d5729e94e 7 | .?8++++7+II?D. |
emh203 0:423d5729e94e 8 | .?O++=I++II+?= |
emh203 0:423d5729e94e 9 | .IO++?7==I??$. |
emh203 0:423d5729e94e 10 | .8++=$===?+I$ |
emh203 0:423d5729e94e 11 | ?+++===+===+ |
emh203 0:423d5729e94e 12 | ???=+I++==+? |
emh203 0:423d5729e94e 13 | .??++====+==++ |
emh203 0:423d5729e94e 14 | ?+++==========~ |
emh203 0:423d5729e94e 15 | $+++==========+= |
emh203 0:423d5729e94e 16 | =?+===+==+I======== |
emh203 0:423d5729e94e 17 | ..++======~~~~========? |
emh203 0:423d5729e94e 18 | .$?I??+=~~===~~~===~===++. |
emh203 0:423d5729e94e 19 | .+==.+=~~~=~==~~~~==~~=~==+? |
emh203 0:423d5729e94e 20 | ?===I+====~~=~~~=~~=====~~~=?. |
emh203 0:423d5729e94e 21 | .=~~~+==~==..~~~~~~= ~~~~=7= |
emh203 0:423d5729e94e 22 | +=~~?+~~=. ==~~~~=. ~~~~=?. |
emh203 0:423d5729e94e 23 | =~~~=~~~ ?===~~+. ~~~~+ |
emh203 0:423d5729e94e 24 | +~~:+~~= =~~==. =~~+. |
emh203 0:423d5729e94e 25 | ~:~ =~~= =~~~= ~=== |
emh203 0:423d5729e94e 26 | I=~~ ,=~~= ,. |
emh203 0:423d5729e94e 27 | ~~. ,==== |
emh203 0:423d5729e94e 28 | ==== |
emh203 0:423d5729e94e 29 | =~~. |
emh203 0:423d5729e94e 30 | |
emh203 0:423d5729e94e 31 |------------------------------------------|
emh203 0:423d5729e94e 32 | Internet Of Thing |
emh203 0:423d5729e94e 33 | Eli Hughes |
emh203 0:423d5729e94e 34 | Freescale / Hack-a-day Make-It-Challenge |
emh203 0:423d5729e94e 35 | FTF 2014 - Dallas, Tx |
emh203 0:423d5729e94e 36 |------------------------------------------|
emh203 0:423d5729e94e 37
emh203 0:423d5729e94e 38 */
emh203 0:423d5729e94e 39 #include "Queue.h"
emh203 0:423d5729e94e 40
emh203 0:423d5729e94e 41 #ifndef TFC_TERMINAL_H_
emh203 0:423d5729e94e 42 #define TFC_TERMINAL_H_
emh203 0:423d5729e94e 43
emh203 0:423d5729e94e 44
emh203 0:423d5729e94e 45 extern ByteQueue TERMINAL_OUTPUT_QUEUE;
emh203 0:423d5729e94e 46 extern ByteQueue TERMINAL_INPUT_QUEUE;
emh203 0:423d5729e94e 47
emh203 0:423d5729e94e 48
emh203 0:423d5729e94e 49 void TFC_InitTerminal();
emh203 0:423d5729e94e 50 void TFC_ProcessTerminal();
emh203 0:423d5729e94e 51
emh203 0:423d5729e94e 52 #define TERMINAL_PRINTF(...) Qprintf(&TERMINAL_OUTPUT_QUEUE,__VA_ARGS__)
emh203 0:423d5729e94e 53 #define TERMINAL_PUTC(c) ByteEnqueue(&TERMINAL_OUTPUT_QUEUE,c)
emh203 0:423d5729e94e 54 #define TERMINAL_READABLE BytesInQueue(&TERMINAL_INPUT_QUEUE)
emh203 0:423d5729e94e 55 #define TERMINAL_GETC ForcedByteDequeue(&TERMINAL_INPUT_QUEUE)
emh203 0:423d5729e94e 56
emh203 0:423d5729e94e 57
emh203 0:423d5729e94e 58 #endif /* TFC_TERMINAL_H_ */