APP 4
Dependencies: mbed CRC16 mbed-rtos
Diff: APP.h
- Revision:
- 26:f2b37f9dfca9
- Parent:
- 23:d41a23d8f2d7
--- a/APP.h Tue Feb 23 14:50:48 2016 +0000 +++ b/APP.h Tue Feb 23 20:56:47 2016 +0000 @@ -1,3 +1,6 @@ +// Vincent Bélanger et Laurent Mandrile +// belv1802 - manl2003 + #include "mbed.h" #include "LPC17xx.h" #include <bitset> @@ -11,6 +14,7 @@ using namespace std; +// Enumération des états de la MEF enum STATES { PREAMBLE, @@ -23,8 +27,8 @@ NOSTATE }; +void debugPrint(); void initTimers(); extern void _decodeCallback(bitset<MAX_DATA> decMessage, int size); extern void _decodeError(); extern void _updateState(STATES state); -extern void _mefDebug(int blu);