Removed WProgram.h reference

Sure nobody still uses <Arduino 0022?
This commit is contained in:
alastaira
2023-10-10 15:32:11 +01:00
parent 2775c70bc3
commit 467235aace
16 changed files with 16 additions and 92 deletions

View File

@@ -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:

View File

@@ -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)();

View File

@@ -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
View File

@@ -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"

View File

@@ -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"

View File

@@ -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;

View File

@@ -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};

View File

@@ -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 = {

View File

@@ -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"

View File

@@ -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"

View File

@@ -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
View File

@@ -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"

View File

@@ -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"

View File

@@ -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,

View File

@@ -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;

View File

@@ -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"