EasyManua.ls Logo

DFRobot FireBeetle ESP32-E - Page 55

DFRobot FireBeetle ESP32-E
92 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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(datanbits)
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( datanbits)
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