diff --git a/ESP-IDF_Robot/build/.ninja_lock b/ESP-IDF_Robot/build/.ninja_lock new file mode 100644 index 000000000..e69de29bb diff --git a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref index 07a7340d5..178629bc9 100644 --- a/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref +++ b/ESP-IDF_Robot/build/CMakeFiles/git-data/head-ref @@ -1 +1 @@ -15d529ee6ab26808cc722005721352e409c7524c +24982ab17a2e93aaef069cf032bd461cf3174dd6 diff --git a/ESP-IDF_Robot/main/blink_example_main.c b/ESP-IDF_Robot/main/blink_example_main.c index 37f469d33..9106c8953 100644 --- a/ESP-IDF_Robot/main/blink_example_main.c +++ b/ESP-IDF_Robot/main/blink_example_main.c @@ -144,29 +144,7 @@ static void espnow_deinit(espnow_send_param_t *send_param); static led_strip_handle_t led_strip; -static void blink_led(void) -{ - /* If the addressable LED is enabled */ - if (s_led_state) { - /* Set the LED pixel using RGB from 0 (0%) to 255 (100%) for each color */ - led_strip_set_pixel(led_strip, 0, 16, 16, 16); - /* Refresh the strip to send data */ - led_strip_refresh(led_strip); - } else { - /* Set all LED off to clear all pixels */ - led_strip_clear(led_strip); - } -} -static void configure_led(void) -{ - ESP_LOGI(TAG, "Example configured to blink addressable LED!"); - /* LED strip initialization with the GPIO and pixels number*/ - led_strip_config_t strip_config = { - .strip_gpio_num = BLINK_GPIO, - .max_leds = 1, // at least one LED on board - }; -} static void blink_led(void)