From 3be77c410e88ccdf9dfeddb28d9c4ec04db0c6de Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 12 Nov 2009 21:53:44 +0100 Subject: functions headers --- Colours.cpp | 6 ++++++ Colours.h | 6 +++--- 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 -- cgit v1.2.3