Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of IR_remote by
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 Thu Jul 21 2022 09:28:40 by
1.7.2
