-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathKconfig
63 lines (51 loc) · 1.7 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
menu "ESP32-NeoPixel-WS2812-RMT Configuration"
choice WS1812_LED_TYPE
prompt "LED Type"
default WS2812_LED_TYPE_RGB
help
Select the type of LED that will be used. This will affect the order of the RGB values that will be sent to the LED.
config WS2812_LED_TYPE_RGB
bool "RGB"
help
Select this option if the LED is of type RGB.
config WS2812_LED_TYPE_RGBW
bool "RGBW"
help
Select this option if the LED is of type RGBW.
endchoice
config WS2812_NUM_LEDS
int "Number of LEDs in the WS2812 strip."
default 8
help
Specify the number of LEDs that will be controlled through the component. Keep in mind that for every LED in the strip an RGB value needs to be stored in a buffer.
config WS2812_LED_RMT_TX_CHANNEL
int "RMT Channel that will be used to modulate the signal."
default 0
help
Defines that RMT Channel that will be used to modulate the signal. Valid values are defined by enum rmt_channel_t (0-7)
config WS2812_LED_RMT_TX_GPIO
int "GPIO number where the WS2812 strip is connected."
default 18
help
Specify which GPIO should be used to send the signal. Only Output pins can be used: 0-5 or 12-33 should be ok.
config WS2812_T0H
int "0 bit high time"
default 14
help
Time interval the signal should be high when a 0 bit is transmitted.
config WS2812_T1H
int "1 bit high time"
default 52
help
Time interval the signal should be high when a 1 bit is transmitted.
config WS2812_T0L
int "0 bit low time"
default 52
help
Time interval the signal should be low followed by the high time for a 0 bit.
config WS2812_T1L
int "1 bit low time"
default 52
help
Time interval the signal should be low followed by the high time for a 1 bit.
endmenu