17 lines
175 B
C++
17 lines
175 B
C++
#ifndef PWM_H
|
|
#define PWM_H
|
|
|
|
#include <avr/io.h>
|
|
|
|
class Pwm16b
|
|
{
|
|
public:
|
|
Pwm16b();
|
|
~Pwm16b();
|
|
void setDuty( const uint16_t duty );
|
|
void off();
|
|
void on();
|
|
};
|
|
|
|
#endif
|