The receiver is cross platform and has been tested on Pyboard, ESP8266 and
ESP32.
+In a typical use case the receiver is employed at the REPL to sniff the address
+and data values associated with buttons on a remote control. The transmitter is
+then used in an application to send those codes, emulating the remote control.
+
+Other use cases involve running the receiver in an application. This enables an
+IR remote to control a device such as a robot.
+
#### [Receiver docs](./RECEIVER.md)
The transmitter driver is compatible with Pyboard (1.x and D series) and ESP32.
common abstract base class in `__init__.py`. The application instantiates the
appropriate class and calls the `transmit` method to send data.
+Basic usage on a Pyboard:
+```python
+from machine import Pin
+from ir_tx.nec import NEC
+nec = NEC(Pin('X1'))
+nec.transmit(1, 2) # address == 1, data == 2
+```
+Basic usage on ESP32:
+```python
+from machine import Pin
+from ir_tx.nec import NEC
+pins = (Pin(23, Pin.OUT, value = 0), Pin(21, Pin.OUT, value = 0))
+nec = NEC(pins)
+nec.transmit(1, 2) # address == 1, data == 2
+```
+
#### Common to all classes
Constructor args: