discoLight
Loading...
Searching...
No Matches
PWMGPIOPin.h
Go to the documentation of this file.
1
26#ifndef PWMGPIOPIN_H_
27#define PWMGPIOPIN_H_
28
29#include "PulsedGPIOPin.h"
30
31namespace SWE4211RPi {
32
33class PWMGPIOPin : public PulsedGPIOPin {
34public:
41 PWMGPIOPin(int number, std::string threadName, uint32_t period);
42
46 virtual ~PWMGPIOPin();
47
52 void setDutyCycle(int dc);
53
54private:
59};
60}
61#endif /* PWMGPIOPIN_H_ */
62
63
64
65
Definition PWMGPIOPin.h:33
virtual ~PWMGPIOPin()
Definition PWMGPIOPin.cpp:45
void setDutyCycle(int dc)
Definition PWMGPIOPin.cpp:50
int dutyCycle
Definition PWMGPIOPin.h:58
Definition PulsedGPIOPin.h:17