From c66b57acbc0350c1277e501b779bb468506dc95e Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Thu, 12 Nov 2009 22:01:08 +0100 Subject: Fixed parameters types --- Colours.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Colours.h') diff --git a/Colours.h b/Colours.h index fb57af4..bf6e5d6 100644 --- a/Colours.h +++ b/Colours.h @@ -10,8 +10,8 @@ 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); + void writeRGB(unsigned char r,unsigned char g,unsigned char b); + void writeHSV(unsigned int h,unsigned char s,unsigned char v); private: int _rPin,_gPin,_bPin; }; -- cgit v1.2.3