library for implementing ir transmission
XMIT_IR.h@0:556f9be6047d, 2012-10-04 (annotated)
- Committer:
- cmulady
- Date:
- Thu Oct 04 13:57:37 2012 +0000
- Revision:
- 0:556f9be6047d
- Child:
- 1:ae1d2167a10c
First revision didn't include rtos stuff. That's what happens when you have two compilers open.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cmulady | 0:556f9be6047d | 1 | #ifndef MBED_XMIT_IR_H |
cmulady | 0:556f9be6047d | 2 | #define MBED_XMIT_IR_H |
cmulady | 0:556f9be6047d | 3 | |
cmulady | 0:556f9be6047d | 4 | #include "mbed.h" |
cmulady | 0:556f9be6047d | 5 | |
cmulady | 0:556f9be6047d | 6 | class irTransmitter |
cmulady | 0:556f9be6047d | 7 | { |
cmulady | 0:556f9be6047d | 8 | public: |
cmulady | 0:556f9be6047d | 9 | irTransmitter(PinName TX, PinName PWM); |
cmulady | 0:556f9be6047d | 10 | ~irTransmitter(); |
cmulady | 0:556f9be6047d | 11 | }; |
cmulady | 0:556f9be6047d | 12 | |
cmulady | 0:556f9be6047d | 13 | class irReceiver |
cmulady | 0:556f9be6047d | 14 | { |
cmulady | 0:556f9be6047d | 15 | public: |
cmulady | 0:556f9be6047d | 16 | irReceiver(); |
cmulady | 0:556f9be6047d | 17 | ~irReceiver(); |
cmulady | 0:556f9be6047d | 18 | }; |
cmulady | 0:556f9be6047d | 19 | |
cmulady | 0:556f9be6047d | 20 | |
cmulady | 0:556f9be6047d | 21 | #endif |