summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena of Valhalla'' Grandi <valhalla@trueelena.org>2013-08-14 11:14:47 +0200
committerElena of Valhalla'' Grandi <valhalla@trueelena.org>2013-08-14 11:14:47 +0200
commitf1b7e9364074571899063e9f668a00eb60d2269a (patch)
treef90a8f7e068f41666232efdd662d4daeb037ee14
parent1d841c9533a841b403940a6d766ff2503f3619b3 (diff)
Migration to arduino 1.0
-rw-r--r--Colours.cpp3
-rw-r--r--Colours.h2
-rw-r--r--examples/hue_rotation/hue_rotation.ino (renamed from examples/hue_rotation/hue_rotation.pde)0
3 files changed, 2 insertions, 3 deletions
diff --git a/Colours.cpp b/Colours.cpp
index c121391..bb77e85 100644
--- a/Colours.cpp
+++ b/Colours.cpp
@@ -2,7 +2,7 @@
* Colours - library for managing the colours on RGB LEDs
*/
-#include "WProgram.h"
+#include "Arduino.h"
#include "Colours.h"
Colours::Colours(int rPin,int gPin,int bPin) {
@@ -51,5 +51,4 @@ void Colours::writeHSV(unsigned int h,unsigned char s,unsigned char v) {
break;
}
}
-
}
diff --git a/Colours.h b/Colours.h
index bf6e5d6..cd08bfc 100644
--- a/Colours.h
+++ b/Colours.h
@@ -5,7 +5,7 @@
#ifndef COLOURS_h
#define COLOURS_h
-#include "WProgram.h"
+#include "Arduino.h"
class Colours {
public:
diff --git a/examples/hue_rotation/hue_rotation.pde b/examples/hue_rotation/hue_rotation.ino
index 2151618..2151618 100644
--- a/examples/hue_rotation/hue_rotation.pde
+++ b/examples/hue_rotation/hue_rotation.ino