#ifndef SimpleExpressions_h #define SimpleExpressions_h #include #ifdef __AVR__ #include #endif #include "Shapes.h" #include "Sounds.h" #define debug true class SimpleExpressionsClass { public: void init(int mouthPin, int buzzerPin); void printMouth(int number, int r, int g, int b); void writeMouth(char mouthName[], int r, int g, int b); void printMouth(int number); void writeMouth(char mouthName[]); void clearMouth(); void writeMouthGeneric(const int mouthArray[7][3]); void writeMouthGeneric(const bool mouthArray[7], int r, int g, int b); //void putAnimationMouth(int anim, int index); //-- Sounds void _tone (float noteFrequency, long noteDuration, int silentDuration); void bendTones (float initFrequency, float finalFrequency, float prop, long noteDuration, int silentDuration); void playSound(int soundName); //-- Gestures //void playGesture(int gesture); private: Adafruit_NeoPixel mouth; void clearPixels(); }; extern SimpleExpressionsClass SimpleExpressions; #endif