Initial commit
This commit is contained in:
commit
e2e53267c6
9 changed files with 512 additions and 0 deletions
16
pwm.h
Normal file
16
pwm.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue