IR Remote

Python Library for IR Remote Controller Transmitter.

Python Library

Turta_IRRemote library is responsible for transmitting IR remote controller messages using the IR LED.

Initialization

Add the following statement to the top of your Python code.

from turta_iothat3 import Turta_IRRemote

Then, create an instance of the IRRemoteTx class.

ir = Turta_IRRemote.IRRemoteTx()

Now you're ready to access the library by calling its instance.

Basic Members

Write IR Remote Controller Signal

Sends the IR remote controller signal using the selected protocol.

write(protocol, command)
  • Parameters

    • PROTOCOLS protocol: Remote controller protocol.

    • Byte[] command: Command to be sent.

  • Returns

    • None

Finalizer

When exiting from the program, the library releases the GPIO pin.

Last updated