summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2009-11-12 21:53:44 +0100
committerElena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>2009-11-12 21:53:44 +0100
commit3be77c410e88ccdf9dfeddb28d9c4ec04db0c6de (patch)
treecd3d7f7dc831a5736af349ea95bad3beda998f7c
parentfb8720cfcf5beab4985b4cedc0508621e2171a90 (diff)
functions headers
-rw-r--r--Colours.cpp6
-rw-r--r--Colours.h6
2 files changed, 9 insertions, 3 deletions
diff --git a/Colours.cpp b/Colours.cpp
index 4656a4c..da33c26 100644
--- a/Colours.cpp
+++ b/Colours.cpp
@@ -13,3 +13,9 @@ Colours::Colours(int rPin,int gPin,int bPin) {
pinMode(_gPin,OUTPUT);
pinMode(_bPin,OUTPUT);
}
+
+void Colours::writeRGB(char r,char g,char b) {
+}
+
+void Colours::writeHSV(char h,char s,char v) {
+}
diff --git a/Colours.h b/Colours.h
index 977531d..fb57af4 100644
--- a/Colours.h
+++ b/Colours.h
@@ -10,10 +10,10 @@
class Colours {
public:
Colours(int rPin,int gPin,int bPin);
+ void writeRGB(char r,char g,char b);
+ void writeHSV(char h,char s,char v);
private:
- int _rPin;
- int _gPin;
- int _bPin;
+ int _rPin,_gPin,_bPin;
};
#endif