IRsend class
The IRsend class can encode and send infrared signals.
IRsend(object)
Description: Construct function of IRsend class Parameter:
object: an object of IRsend class
sendNEC()
Description: Sends the specified value in NEC encoded format. Syntax: IRsend.sendNEC(data,nbits)
Parameter:
IRsend: an object of IRsend class. data: encode value to send
nbits: number of encodeing bits
sendSony()
Description:Send a code in Sony format. Syntax: IRsend.sendSony( data,nbits)
Parameter:
IRsend: an object of IRsend class. data: encode value to send
nbits: number of encodeing bits
sendRaw()
Description: Send a raw code. Syntax: IRsend.sendRaw( buf,len,hz)
object:
IRsend:an object of IRsend class
buf: store the array of original code
len: the length of the array
hz: ir transmitting frequency