Skip to content

Commit

Permalink
Added interrupt for sleeping facial animation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Mar 18, 2024
1 parent ae8c2e1 commit 305e69c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/scenes/tomo_sleeping.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <scenes/tomo_opening_eyes.h>
#include <scenes/tomo_sleeping.h>

const uint8_t tomo_sleeping_1[] PROGMEM = {
Expand Down Expand Up @@ -402,9 +403,7 @@ const uint8_t tomo_sleeping_6[] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

TomoSleepingScene::TomoSleepingScene() {
this->hasNoInterrupt();
}
TomoSleepingScene::TomoSleepingScene() { }

void TomoSleepingScene::rendition() {
TomoDisplay::renderBitmap(tomo_sleeping_1), delay(100);
Expand All @@ -415,4 +414,6 @@ void TomoSleepingScene::rendition() {
TomoDisplay::renderBitmap(tomo_sleeping_6), delay(100);
}

void TomoSleepingScene::onInteract() { }
void TomoSleepingScene::onInteract() {
TomoScene::renderScene<TomoOpeningEyesScene>(1);
}

0 comments on commit 305e69c

Please sign in to comment.