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); private: int _rPin; int _gPin; int _bPin; }; #endif