Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
UARTDisplayer.hpp
- Committer:
- GaiSensei
- Date:
- 2017-01-16
- Revision:
- 13:bb9669053eb3
- Parent:
- 2:b8a20f7e2912
- Child:
- 14:2f89279586cb
File content as of revision 13:bb9669053eb3:
#include <mbed.h> //PinName #include "DisplayerConstants.hpp" class HomemadeUART { public: HomemadeUART(PinName tx_pin); void init(); void write(int value); private: PinName tx_pin; }; class UARTDisplayer { public: UARTDisplayer(PinName tx_pin); void displayAngle(float angle); void reset(); private: HomemadeUART device; };