Main Code
Dependencies: DRV8833 PidControllerV3 mbed Buffer
Fork of ApexPID by
RGB_LED/RGB_LED.h
- Committer:
- batchee7
- Date:
- 2018-05-07
- Revision:
- 0:95384d72794f
File content as of revision 0:95384d72794f:
/* RGB_LED.h - Library for creating Tri Colour LED Objects Created by J. Batchelar, February 15, 2018. Released into the public domain. */ #ifndef RGB_LED_h #define RGB_LED_h #include "mbed.h" class RGB_LED { public: RGB_LED(PinName Redpin, PinName GreenPin, PinName BluePin); void Red(); void Green(); void Blue(); void Off(); private: DigitalOut _Rpin; DigitalOut _Gpin; DigitalOut _Bpin; }; #endif