From bc463e75c10ef813365aba4e99df787a0a3e0ed4 Mon Sep 17 00:00:00 2001 From: Hugo Pezziardi Date: Tue, 8 Mar 2022 12:40:52 +0100 Subject: [PATCH] :art: (spikes): Update ld_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..95148990ca 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 "WakeUp.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::WakeUp animation_wake_up(ears, belt); HelloWorld hello; @@ -38,6 +40,7 @@ auto main() -> int hello.start(); while (true) { + ledkit.start(animation_wake_up); rtos::ThisThread::sleep_for(40s); ledkit.stop();