![](/media/cache/profiles/94aef38441efa3380a3bed3faf1f9d5d.50x50_q85.jpg)
Dependencies: EthernetNetIf NTPClient_NetServices mbed
MyRFID.h@1:b494b1b91ba3, 2010-08-11 (annotated)
- Committer:
- nucho
- Date:
- Wed Aug 11 06:37:11 2010 +0000
- Revision:
- 1:b494b1b91ba3
- Parent:
- 0:d441275f622f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nucho | 0:d441275f622f | 1 | #ifndef MBED_MYRFID_H |
nucho | 0:d441275f622f | 2 | #define MBED_MYRFID_H |
nucho | 0:d441275f622f | 3 | |
nucho | 0:d441275f622f | 4 | #include "mbed.h" |
nucho | 0:d441275f622f | 5 | |
nucho | 0:d441275f622f | 6 | namespace mbed { |
nucho | 0:d441275f622f | 7 | |
nucho | 0:d441275f622f | 8 | class MyRFID { |
nucho | 0:d441275f622f | 9 | public: |
nucho | 0:d441275f622f | 10 | MyRFID(PinName tx, PinName rx); |
nucho | 0:d441275f622f | 11 | int readable(void); |
nucho | 0:d441275f622f | 12 | unsigned int read (void); |
nucho | 0:d441275f622f | 13 | void baud(int baudrate); |
nucho | 0:d441275f622f | 14 | private: |
nucho | 0:d441275f622f | 15 | Serial _rfid; |
nucho | 0:d441275f622f | 16 | |
nucho | 0:d441275f622f | 17 | }; |
nucho | 0:d441275f622f | 18 | } |
nucho | 0:d441275f622f | 19 | |
nucho | 0:d441275f622f | 20 | #endif |