mirror of
https://github.com/s00500/SimpleExpressions
synced 2024-11-21 18:00:55 +00:00
Updating example
This commit is contained in:
parent
f93c25b2ce
commit
3630a9342d
@ -3,8 +3,19 @@
|
|||||||
void setup() {
|
void setup() {
|
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
SimpleExpressions.init(13, 14);
|
delay(2000);
|
||||||
//SimpleExpressions._tone(440, 5000,1);
|
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);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user