Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
Diff: UARTDisplayer.hpp
- Revision:
- 16:c77e34bc69bc
- Parent:
- 14:2f89279586cb
- Child:
- 21:a111be2582be
diff -r b38d9d210e32 -r c77e34bc69bc UARTDisplayer.hpp --- a/UARTDisplayer.hpp Tue Jan 17 00:06:38 2017 +0000 +++ b/UARTDisplayer.hpp Tue Jan 17 06:01:05 2017 +0000 @@ -4,21 +4,18 @@ class HomemadeUART { public: - HomemadeUART(PinName tx_pin); void init(); void set_baud_rate(unsigned int baud_rate); void set_fifo(); void set_lcr(); void write(unsigned char value); - private: - PinName tx_pin; }; class UARTDisplayer { public: - UARTDisplayer(PinName tx_pin); + UARTDisplayer(); void displayAngle(float angle); void reset(); private: