mirror of
https://github.com/playfultechnology/esp32-eyes.git
synced 2025-12-06 17:15:42 -08:00
Removed WProgram.h reference
Sure nobody still uses <Arduino 0022?
This commit is contained in:
@@ -13,11 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _ANIMATIONS_h
|
#ifndef _ANIMATIONS_h
|
||||||
#define _ANIMATIONS_h
|
#define _ANIMATIONS_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class IAnimation {
|
class IAnimation {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -13,11 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _ASYNCTIMER_h
|
#ifndef _ASYNCTIMER_h
|
||||||
#define _ASYNCTIMER_h
|
#define _ASYNCTIMER_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef void(*AsyncTimerCallback)();
|
typedef void(*AsyncTimerCallback)();
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _BLINKASSISTANT_h
|
#ifndef _BLINKASSISTANT_h
|
||||||
#define _BLINKASSISTANT_h
|
#define _BLINKASSISTANT_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "AsyncTimer.h"
|
#include "AsyncTimer.h"
|
||||||
|
|
||||||
|
|||||||
7
Eye.h
7
Eye.h
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYE_h
|
#ifndef _EYE_h
|
||||||
#define _EYE_h
|
#define _EYE_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYEBLINK_h
|
#ifndef _EYEBLINK_h
|
||||||
#define _EYEBLINK_h
|
#define _EYEBLINK_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYECONFIG_h
|
#ifndef _EYECONFIG_h
|
||||||
#define _EYECONFIG_h
|
#define _EYECONFIG_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
struct EyeConfig
|
struct EyeConfig
|
||||||
{
|
{
|
||||||
int16_t OffsetX;
|
int16_t OffsetX;
|
||||||
|
|||||||
@@ -13,13 +13,9 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYEDRAWER_h
|
#ifndef _EYEDRAWER_h
|
||||||
#define _EYEDRAWER_h
|
#define _EYEDRAWER_h
|
||||||
|
|
||||||
|
#include <Arduino.h>
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum CornerType {T_R, T_L, B_L, B_R};
|
enum CornerType {T_R, T_L, B_L, B_R};
|
||||||
|
|
||||||
|
|||||||
@@ -17,12 +17,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYEPRESETS_h
|
#ifndef _EYEPRESETS_h
|
||||||
#define _EYEPRESETS_h
|
#define _EYEPRESETS_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
|
|
||||||
static const EyeConfig Preset_Normal = {
|
static const EyeConfig Preset_Normal = {
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYETRANSFORMATION_h
|
#ifndef _EYETRANSFORMATION_h
|
||||||
#define _EYETRANSFORMATION_h
|
#define _EYETRANSFORMATION_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYETRANSITION_h
|
#ifndef _EYETRANSITION_h
|
||||||
#define _EYETRANSITION_h
|
#define _EYETRANSITION_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _EYEVARIATION_h
|
#ifndef _EYEVARIATION_h
|
||||||
#define _EYEVARIATION_h
|
#define _EYEVARIATION_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "EyeConfig.h"
|
#include "EyeConfig.h"
|
||||||
|
|
||||||
|
|||||||
8
Face.h
8
Face.h
@@ -13,13 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _FACE_h
|
#ifndef _FACE_h
|
||||||
#define _FACE_h
|
#define _FACE_h
|
||||||
|
|
||||||
#include "config.h"
|
#include <Arduino.h>
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Common.h"
|
#include "Common.h"
|
||||||
#include "Animations.h"
|
#include "Animations.h"
|
||||||
#include "EyePresets.h"
|
#include "EyePresets.h"
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _FACEBEHAVIOR_h
|
#ifndef _FACEBEHAVIOR_h
|
||||||
#define _FACEBEHAVIOR_h
|
#define _FACEBEHAVIOR_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "FaceEmotions.hpp"
|
#include "FaceEmotions.hpp"
|
||||||
#include "AsyncTimer.h"
|
#include "AsyncTimer.h"
|
||||||
|
|
||||||
|
|||||||
@@ -13,11 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _FACEEMOTIONS_h
|
#ifndef _FACEEMOTIONS_h
|
||||||
#define _FACEEMOTIONS_h
|
#define _FACEEMOTIONS_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum eEmotions {
|
enum eEmotions {
|
||||||
Normal=0,
|
Normal=0,
|
||||||
|
|||||||
@@ -13,11 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _FACEEXPRESSION_h
|
#ifndef _FACEEXPRESSION_h
|
||||||
#define _FACEEXPRESSION_h
|
#define _FACEEXPRESSION_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class Face;
|
class Face;
|
||||||
|
|
||||||
|
|||||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
|||||||
#ifndef _LOOKASSISTANT_h
|
#ifndef _LOOKASSISTANT_h
|
||||||
#define _LOOKASSISTANT_h
|
#define _LOOKASSISTANT_h
|
||||||
|
|
||||||
#if defined(ARDUINO) && ARDUINO >= 100
|
#include <Arduino.h>
|
||||||
#include "arduino.h"
|
|
||||||
#else
|
|
||||||
#include "WProgram.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "EyeTransformation.h"
|
#include "EyeTransformation.h"
|
||||||
#include "AsyncTimer.h"
|
#include "AsyncTimer.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user