1menu "Example Configuration"
2    choice EXAMPLE_IR_PROTOCOL
3        prompt "Infrared Protocol"
4        default EXAMPLE_IR_PROTOCOL_NEC
5        help
6            Choose the IR protocol used in the example.
7
8        config EXAMPLE_IR_PROTOCOL_NEC
9            bool "NEC"
10            help
11                NEC is a kind of Pulse Distance Protocol.
12                It uses ASK modulation and pulse distance encoding with a carrier frequency of 38 kHz.
13
14        config EXAMPLE_IR_PROTOCOL_RC5
15            bool "RC5"
16            help
17                The RC5 protocol was introduced by Philips.
18                It uses ASK modulation and Manchester encoding with carrier frequency fixed at 36 kHz.
19
20    endchoice
21
22    config EXAMPLE_RMT_TX_GPIO
23        int "RMT TX GPIO"
24        default 18
25        help
26            Set the GPIO number used for transmitting the RMT signal.
27
28    config EXAMPLE_RMT_RX_GPIO
29        int "RMT RX GPIO"
30        default 19
31        help
32            Set the GPIO number used for receiving the RMT signal.
33
34    config EXAMPLE_RMT_TX_CHANNEL
35        int "RMT TX Channel Number"
36        default 0
37        help
38            Set the RMT TX channel number.
39
40    config EXAMPLE_RMT_RX_CHANNEL
41        int "RMT RX Channel Number"
42        default 4 if IDF_TARGET_ESP32S3
43        default 2
44        help
45            Set the RMT RX channel number.
46endmenu
47