Exemple fait en classe th4 du cours 247-637 (2017)
Dependencies: mbed
Diff: processusUART.h
- Revision:
- 0:669a6bff2494
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/processusUART.h Fri Sep 15 20:02:05 2017 +0000 @@ -0,0 +1,20 @@ +#ifndef PROCESSUS_UART_H +#define PROCESSUS_UART_H + + +//------------------------------------ +// Hyperterminal configuration +// 9600 bauds, 8-bit data, no parity +//------------------------------------ + + +#define PROCESSUS_UART_PRET 1 +#define PROCESSUS_UART_LIBRE 0 + +extern uint16_t messagePret; + +void initialiseUART(void); +void gereUART(void); + + +#endif \ No newline at end of file