Skip to content

Commit

Permalink
🎨 (spikes): Update lk_led_kit
Browse files Browse the repository at this point in the history
  • Loading branch information
HPezz authored and ladislas committed Mar 9, 2022
1 parent 97cf904 commit 1222015
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spikes/lk_led_kit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "SadCry.h"
#include "Singing.h"
#include "Sleeping.h"
#include "Waiting.h"
#include "WakeUp.h"

using namespace leka;
Expand Down Expand Up @@ -61,8 +62,9 @@ led::animation::LoadingYellow animation_loading_yellow(ears, belt);
led::animation::Sad animation_sad(ears, belt);
led::animation::SadCry animation_sad_cry(ears, belt);
led::animation::Singing animation_singing(ears, belt);
led::animation::WakeUp animation_wake_up(ears, belt);
led::animation::Sleeping animation_sleeping(ears, belt);
led::animation::Waiting animation_waiting(ears, belt);
led::animation::WakeUp animation_wake_up(ears, belt);

HelloWorld hello;

Expand Down Expand Up @@ -123,6 +125,9 @@ auto main() -> int
ledkit.start(animation_wake_up);
rtos::ThisThread::sleep_for(10s);

ledkit.start(animation_waiting);
rtos::ThisThread::sleep_for(10s);

ledkit.stop();
rtos::ThisThread::sleep_for(1s);
}
Expand Down

0 comments on commit 1222015

Please sign in to comment.