RemoteIR.
Dependents: RemoteIR_TestProgram SerialGPS_TestProgram StarBoardOrangeExpansion1 Door_Slamming_Device ... more
TransmitterIR Class Reference
IR transmitter class. More...
#include <TransmitterIR.h>
Public Member Functions | |
TransmitterIR (PinName txpin) | |
Constructor. | |
~TransmitterIR () | |
Destructor. | |
State | getState (void) |
Get state. | |
int | setData (RemoteIR::Format format, uint8_t *buf, int bitlength) |
Set data. |
Detailed Description
IR transmitter class.
Definition at line 18 of file TransmitterIR.h.
Constructor & Destructor Documentation
TransmitterIR | ( | PinName | txpin ) | [explicit] |
Constructor.
- Parameters:
-
txpin Pin for transmit IR signal.
Definition at line 18 of file TransmitterIR.cpp.
~TransmitterIR | ( | ) |
Destructor.
Definition at line 35 of file TransmitterIR.cpp.
Member Function Documentation
TransmitterIR::State getState | ( | void | ) |
int setData | ( | RemoteIR::Format | format, |
uint8_t * | buf, | ||
int | bitlength | ||
) |
Set data.
- Parameters:
-
format Format. buf Buffer of a data. bitlength Bit length of the data.
- Returns:
- Data bit length.
Definition at line 59 of file TransmitterIR.cpp.
Generated on Tue Jul 12 2022 12:35:51 by 1.7.2