mirror of
https://github.com/jscrane/r65emu.git
synced 2024-12-22 03:30:02 +00:00
13 lines
184 B
C
13 lines
184 B
C
|
#ifndef __SOUND_PWM_H__
|
||
|
#define __SOUND_PWM_H__
|
||
|
|
||
|
class PWM {
|
||
|
public:
|
||
|
void begin(unsigned gpio);
|
||
|
void set_duty(unsigned duty);
|
||
|
void stop();
|
||
|
void set_freq(unsigned freq);
|
||
|
};
|
||
|
|
||
|
#endif
|