From 6251042a66efbdefd2ac7526467afbe718f6f947 Mon Sep 17 00:00:00 2001 From: Hugo Pezziardi Date: Tue, 1 Mar 2022 17:10:14 +0100 Subject: [PATCH] :art: (spikes): Update lk_led_kit --- spikes/lk_led_kit/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spikes/lk_led_kit/main.cpp b/spikes/lk_led_kit/main.cpp index 5d5f680e0d..066c2891bd 100644 --- a/spikes/lk_led_kit/main.cpp +++ b/spikes/lk_led_kit/main.cpp @@ -12,6 +12,7 @@ #include "HelloWorld.h" #include "LedKit.h" #include "LogKit.h" +#include "Waiting.h" using namespace leka; using namespace std::chrono; @@ -26,6 +27,7 @@ auto animation_thread = rtos::Thread {}; auto animation_event_queue = events::EventQueue {}; auto ledkit = LedKit {animation_thread, animation_event_queue, ears, belt}; +led::animation::Waiting animation_waiting(ears, belt); HelloWorld hello; @@ -38,6 +40,7 @@ auto main() -> int hello.start(); while (true) { + ledkit.start(animation_waiting); rtos::ThisThread::sleep_for(40s); ledkit.stop();