summaryrefslogtreecommitdiff
path: root/Colours.h
blob: fb57af4ef7ef2da035961c7527e2e3208e655b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Colours - library for managing the colours on RGB LEDs
 */

#ifndef COLOURS_h
#define COLOURS_h

#include "WProgram.h"

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,_gPin,_bPin;
};

#endif