asdf
Dependencies: L3GD20 LSM303DLHC mbed
Headers/Communication.h
- Committer:
- goy5022
- Date:
- 2014-03-29
- Revision:
- 0:c2ec30f28676
- Child:
- 2:997f57aee3b7
File content as of revision 0:c2ec30f28676:
#ifndef COMMUNICATION_H #define COMMUNICATION_H #include "Core.h" class CommunicationInterface : public Serial { public: explicit CommunicationInterface(PinName a, PinName b) : Serial(a, b) {} char getChar() { if(readable()) { return getc(); } return (char)0; } }; typedef CommunicationInterface ComInterface; ComInterface WIRELESS(p28, p27); #endif