summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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