Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
UARTDisplayer.hpp
- Committer:
- dupm2216
- Date:
- 2017-01-17
- Revision:
- 16:c77e34bc69bc
- Parent:
- 14:2f89279586cb
- Child:
- 21:a111be2582be
File content as of revision 16:c77e34bc69bc:
#include <mbed.h> //PinName #include "DisplayerConstants.hpp" class HomemadeUART { public: void init(); void set_baud_rate(unsigned int baud_rate); void set_fifo(); void set_lcr(); void write(unsigned char value); }; class UARTDisplayer { public: UARTDisplayer(); void displayAngle(float angle); void reset(); private: HomemadeUART device; };