Sming Framework API
Sming - Open Source framework for high efficiency WiFi SoC ESP8266 native development with C++ language.
IRsend Class Reference
Inheritance diagram for IRsend:
IRsendTest

Public Member Functions

 IRsend (uint16_t IRsendPin, bool inverted=false)
 
void begin ()
 
void enableIROut (uint32_t freq, uint8_t duty=DUTY_DEFAULT)
 
VIRTUAL uint16_t mark (uint16_t usec)
 
VIRTUAL void space (uint32_t usec)
 
void calibrate (uint16_t hz=38000U)
 
void sendRaw (uint16_t buf[], uint16_t len, uint16_t hz)
 
void sendData (uint16_t onemark, uint32_t onespace, uint16_t zeromark, uint32_t zerospace, uint64_t data, uint16_t nbits, bool MSBfirst=true)
 
void sendGeneric (const uint16_t headermark, const uint32_t headerspace, const uint16_t onemark, const uint32_t onespace, const uint16_t zeromark, const uint32_t zerospace, const uint16_t footermark, const uint32_t gap, const uint64_t data, const uint16_t nbits, const uint16_t frequency, const bool MSBfirst, const uint16_t repeat, const uint8_t dutycycle)
 
void sendGeneric (const uint16_t headermark, const uint32_t headerspace, const uint16_t onemark, const uint32_t onespace, const uint16_t zeromark, const uint32_t zerospace, const uint16_t footermark, const uint32_t gap, const uint32_t mesgtime, const uint64_t data, const uint16_t nbits, const uint16_t frequency, const bool MSBfirst, const uint16_t repeat, const uint8_t dutycycle)
 
void sendGeneric (const uint16_t headermark, const uint32_t headerspace, const uint16_t onemark, const uint32_t onespace, const uint16_t zeromark, const uint32_t zerospace, const uint16_t footermark, const uint32_t gap, const uint8_t *dataptr, const uint16_t nbytes, const uint16_t frequency, const bool MSBfirst, const uint16_t repeat, const uint8_t dutycycle)
 
void send (uint16_t type, uint64_t data, uint16_t nbits)
 

Protected Attributes

uint8_t outputOn
 
uint8_t outputOff