mirror of
https://github.com/playfultechnology/esp32-eyes.git
synced 2025-12-06 09:05:40 -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
|
||||
#define _ANIMATIONS_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
#include <Arduino.h>
|
||||
|
||||
class IAnimation {
|
||||
public:
|
||||
|
||||
@@ -13,11 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
||||
#ifndef _ASYNCTIMER_h
|
||||
#define _ASYNCTIMER_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
#include <Arduino.h>
|
||||
|
||||
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
|
||||
#define _BLINKASSISTANT_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Animations.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
|
||||
#define _EYE_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Common.h"
|
||||
#include "Animations.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
|
||||
#define _EYEBLINK_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Animations.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
|
||||
#define _EYECONFIG_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
struct EyeConfig
|
||||
{
|
||||
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
|
||||
#define _EYEDRAWER_h
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Common.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};
|
||||
|
||||
|
||||
@@ -17,12 +17,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
||||
#ifndef _EYEPRESETS_h
|
||||
#define _EYEPRESETS_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "EyeConfig.h"
|
||||
|
||||
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
|
||||
#define _EYETRANSFORMATION_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Animations.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
|
||||
#define _EYETRANSITION_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Animations.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
|
||||
#define _EYEVARIATION_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Animations.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
|
||||
#define _FACE_h
|
||||
|
||||
#include "config.h"
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "Common.h"
|
||||
#include "Animations.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
|
||||
#define _FACEBEHAVIOR_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "FaceEmotions.hpp"
|
||||
#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
|
||||
#define _FACEEMOTIONS_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
#include <Arduino.h>
|
||||
|
||||
enum eEmotions {
|
||||
Normal=0,
|
||||
|
||||
@@ -13,11 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
||||
#ifndef _FACEEXPRESSION_h
|
||||
#define _FACEEXPRESSION_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
#include <Arduino.h>
|
||||
|
||||
class Face;
|
||||
|
||||
|
||||
@@ -13,12 +13,7 @@ You should have received a copy of the GNU Affero General Public License along w
|
||||
#ifndef _LOOKASSISTANT_h
|
||||
#define _LOOKASSISTANT_h
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include "arduino.h"
|
||||
#else
|
||||
#include "WProgram.h"
|
||||
#endif
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "EyeTransformation.h"
|
||||
#include "AsyncTimer.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user