TINF_MyPwm
MyPwm.h
- Committer:
- martwerl
- Date:
- 2018-06-22
- Revision:
- 0:728d17af5d23
File content as of revision 0:728d17af5d23:
#include "mbed.h" #ifndef MYPWM_H #define MYPWM_H class MyPwm { private: PwmOut _pin; public: MyPwm(PinName pin) : _pin(pin) { _pin = 0; } void dimUp(void); void dimDown(void); void printStatus(void); }; #endif