forked RemoteIR
Fork of RemoteIR by
Diff: TransmitterIR.h
- Revision:
- 12:d86179332137
- Parent:
- 11:268cc2ab63bd
--- a/TransmitterIR.h Mon Sep 20 00:54:59 2010 +0000 +++ b/TransmitterIR.h Sat Mar 17 14:42:15 2018 +0000 @@ -23,7 +23,7 @@ * * @param txpin Pin for transmit IR signal. */ - explicit TransmitterIR(PinName txpin); + explicit TransmitterIR(PinName txpin, bool txInversion); /** * Destructor. @@ -75,8 +75,11 @@ Ticker ticker; data_t data; work_t work; + bool txInversion; void tick(); + void setLEDHigh(void); + void setLEDLow(void); };