Skip to content

Commit

Permalink
🎨 (spikes): Upgrade 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 e8964f6 commit 9370253
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spikes/lk_led_kit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "Sick.h"
#include "Singing.h"
#include "Sleeping.h"
#include "Sneeze.h"
#include "Waiting.h"
#include "WakeUp.h"
#include "Wink.h"
Expand Down Expand Up @@ -67,6 +68,7 @@ led::animation::SadCry animation_sad_cry(ears, belt);
led::animation::Sick animation_sick {ears, belt};
led::animation::Singing animation_singing(ears, belt);
led::animation::Sleeping animation_sleeping(ears, belt);
led::animation::Sneeze animation_sneeze {ears, belt};
led::animation::Waiting animation_waiting(ears, belt);
led::animation::WakeUp animation_wake_up(ears, belt);
led::animation::Wink animation_wink {ears, belt};
Expand Down Expand Up @@ -143,6 +145,9 @@ auto main() -> int
ledkit.start(animation_wink);
rtos::ThisThread::sleep_for(10s);

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

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

0 comments on commit 9370253

Please sign in to comment.