From 3630a9342dd021d01c6ecce1a2ad9fba0ba81e8b Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Thu, 23 Nov 2017 15:36:18 +0100 Subject: [PATCH] Updating example --- examples/mouth.ino | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/examples/mouth.ino b/examples/mouth.ino index 7d13c70..a1cf3ab 100644 --- a/examples/mouth.ino +++ b/examples/mouth.ino @@ -3,8 +3,19 @@ void setup() { // put your setup code here, to run once: Serial.begin(115200); - SimpleExpressions.init(13, 14); - //SimpleExpressions._tone(440, 5000,1); + delay(2000); + SimpleExpressions.init(13, 17); + + SimpleExpressions.clearMouth(); + + for (int i = 0; i < 18; i++) { + Serial.println(i); + SimpleExpressions.printMouth(i, 30, 0, 0); + SimpleExpressions.playSound(i); + + delay(1000); + } + }