starting with led configuration
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
13
main/Kconfig.projbuild
Normal file
13
main/Kconfig.projbuild
Normal file
@@ -0,0 +1,13 @@
|
||||
menu "Miniatur Town"
|
||||
config WLED_DIN_PIN
|
||||
int "WLED Data In Pin"
|
||||
default 14
|
||||
help
|
||||
The number of the WLED data in pin.
|
||||
|
||||
config WLED_LED_COUNT
|
||||
int "WLED LED counter"
|
||||
default 64
|
||||
help
|
||||
The number of the WLED LEDs.
|
||||
endmenu
|
@@ -1,6 +1,11 @@
|
||||
#include "led_matrix.h"
|
||||
#include "remote_control.h"
|
||||
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
init_led();
|
||||
xTaskCreatePinnedToCore(led_matrix_init, "led_matrix", configMINIMAL_STACK_SIZE * 2, NULL, 5, NULL, 1);
|
||||
xTaskCreatePinnedToCore(ble_init, "remote_control", configMINIMAL_STACK_SIZE * 2, NULL, 5, NULL, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user