
2nd year embedded systems project
Diff: Door_1_Docs/RGBled.h
- Revision:
- 1:9d7c34bfe43e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Door_1_Docs/RGBled.h Tue Dec 15 18:15:48 2020 +0000 @@ -0,0 +1,19 @@ +#ifndef RGBled_H +#define RGBled_H + +#include <mbed.h> + +class RGBled { + + public: + RGBled (PinName ledPin); + ~RGBled (); + bool SetRGBledStatus (bool RGBStatus); + + private: + DigitalOut rgbled; + + +}; + +#endif \ No newline at end of file